From a861f165656c667322bd3fffb3c1db244c0ceb8c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 17 Feb 2014 13:10:20 +0000 Subject: [PATCH] log error-message not error-object (which get logged as {}) --- etemplate/js/et2_core_arrayMgr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_arrayMgr.js b/etemplate/js/et2_core_arrayMgr.js index d7eb927779..263162fabb 100644 --- a/etemplate/js/et2_core_arrayMgr.js +++ b/etemplate/js/et2_core_arrayMgr.js @@ -271,7 +271,7 @@ var et2_arrayMgr = Class.extend( } catch(e) { - egw.debug("error", e); + egw.debug("error", typeof e == 'object' ? e.message : e); } } }