From 07b311d49535b92f1bd90a5d8bca59f7b8e4768f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 17 Sep 2013 20:17:20 +0000 Subject: [PATCH] Enhance error message to actually include the original error message --- phpgwapi/js/jsapi/egw_json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/egw_json.js b/phpgwapi/js/jsapi/egw_json.js index 6010acab99..49792d6ef0 100644 --- a/phpgwapi/js/jsapi/egw_json.js +++ b/phpgwapi/js/jsapi/egw_json.js @@ -326,7 +326,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) { } catch (e) { - req.egw.debug('error', 'Function', res.data.func, + req.egw.debug('error', e.message, ' in function', res.data.func, 'Parameters', res.data.parms); } return true;