From 4212934fd2ea9bf935a673391c483d2d38592449 Mon Sep 17 00:00:00 2001 From: Yurii Date: Thu, 1 Jan 2026 15:52:34 +0200 Subject: [PATCH] internal server error message --- application/Espo/Resources/i18n/en_US/Global.json | 2 ++ client/src/app.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/application/Espo/Resources/i18n/en_US/Global.json b/application/Espo/Resources/i18n/en_US/Global.json index 3a2acff27c..a674726213 100644 --- a/application/Espo/Resources/i18n/en_US/Global.json +++ b/application/Espo/Resources/i18n/en_US/Global.json @@ -167,6 +167,7 @@ "Done": "Done", "Access denied": "Access denied", "Not found": "Not found", + "Internal server error": "Internal server error", "Access": "Access", "Timeout": "Timeout", "No internet": "No internet", @@ -336,6 +337,7 @@ "Reactions": "Reactions" }, "messages": { + "checkLogsForDetails": "Check logs for details", "pleaseWait": "Please wait...", "loading": "Loading...", "saving": "Saving...", diff --git a/client/src/app.js b/client/src/app.js index 438c785e8e..91fa4eed5f 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -1323,6 +1323,9 @@ class App { if (!label) { if (xhr.status === 0) { msg += this.language.translate('Network error'); + } else if (xhr.status === 500) { + msg += this.language.translate('Internal server error') + '\n\n' + + this.language.translate('checkLogsForDetails', 'messages') } else { msg += this.language.translate('Error') + ' ' + xhr.status; }