Improve error logging for failed validations
authorJoshua Rüsweg <josh@bastelstu.be>
Wed, 22 Aug 2018 09:44:31 +0000 (11:44 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Wed, 22 Aug 2018 09:44:31 +0000 (11:44 +0200)
See #2743

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor.js

index 9e0c696a170e5f5cec6243b4cbb3cb7f6e62a63c..6009ad3ea20e16bd3ef82ea63ed1df440a6e5f33 100644 (file)
@@ -514,8 +514,8 @@ define(
                                });
                                
                                this._hideEditor();
-                       }.bind(this), function() {
-                               // ignore failure
+                       }.bind(this), function(e) {
+                               console.log('Validation of post edit failed: '+ e);
                        });
                },