From: Joshua Rüsweg Date: Wed, 22 Aug 2018 09:44:31 +0000 (+0200) Subject: Improve error logging for failed validations X-Git-Tag: 5.2.0_Alpha_1~364^2~71^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4eae989cc75a3f028fd6f3b241c8a10313c9e1b3;p=GitHub%2FWoltLab%2FWCF.git Improve error logging for failed validations See #2743 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js index 9e0c696a17..6009ad3ea2 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js @@ -514,8 +514,8 @@ define( }); this._hideEditor(); - }.bind(this), function() { - // ignore failure + }.bind(this), function(e) { + console.log('Validation of post edit failed: '+ e); }); },