Skip to content

Commit

Permalink
show details for internal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchetti committed Oct 26, 2020
1 parent 15d60d7 commit 7358c9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rsconnect_jupyter/static/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1415,8 +1415,6 @@ define([
'Installation Section of the rsconnect-jupyter documentation</a> 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;
Expand Down

0 comments on commit 7358c9f

Please sign in to comment.