diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index 87a9de68..4c593df3 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1446,8 +1446,6 @@ define([ 'Installation Section of the rsconnect-jupyter documentation for more information.'; } else if (typeof xhr === 'string') { msg = 'An unexpected error occurred: ' + xhr; - } else if (xhr.status === 500) { - msg = 'An internal error occurred.'; } else if (xhr.responseJSON) { if (xhr.responseJSON.message) { msg = 'Error: ' + xhr.responseJSON.message;