From 7358c9f8c0419e2ac4e69a9fffedf1ef10fa4d91 Mon Sep 17 00:00:00 2001 From: Michael Marchetti Date: Mon, 26 Oct 2020 10:01:45 -0400 Subject: [PATCH] show details for internal errors --- rsconnect_jupyter/static/connect.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/rsconnect_jupyter/static/connect.js b/rsconnect_jupyter/static/connect.js index bef1a267..95ac2e4a 100644 --- a/rsconnect_jupyter/static/connect.js +++ b/rsconnect_jupyter/static/connect.js @@ -1415,8 +1415,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;