Skip to content

Commit

Permalink
Merge pull request #284 from rstudio/mm-error-detail
Browse files Browse the repository at this point in the history
Show details for internal errors
  • Loading branch information
mmarchetti authored Oct 28, 2020
2 parents fabe289 + 6e289bb commit 20f4e56
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 @@ -1446,8 +1446,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 20f4e56

Please sign in to comment.