From 3ad8b92ca66b536f19d01b724e561bcfefbb8e29 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 3 Aug 2018 17:14:17 +0200 Subject: [PATCH] Improve Javacript error messages See #2509 --- .../WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js | 2 +- .../Core/Form/Builder/Field/Dependency/Container/Abstract.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js index 09371f5311..8c3eba18aa 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.js @@ -23,7 +23,7 @@ define(['./Manager'], function(DependencyManager) { * @abstract */ checkDependency: function() { - throw new Error("Implement me!") + throw new Error("Missing implementation of WoltLabSuite/Core/Form/Builder/Field/Dependency/Abstract.checkDependency!"); }, /** diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Abstract.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Abstract.js index b892701121..0aed1229d4 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Abstract.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Abstract.js @@ -24,7 +24,7 @@ define(['EventHandler', '../Manager'], function(EventHandler, DependencyManager) * @abstract */ checkContainer: function() { - throw new Error("Implement me!") + throw new Error("Missing implementation of WoltLabSuite/Core/Form/Builder/Field/Dependency/Container.checkContainer!"); }, /** -- 2.20.1