From 22b5ed587fe6f3bcff103a3db47b7ce4448e3b29 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 10 Oct 2013 12:32:34 +0000 Subject: [PATCH] Improve error message to make sure we get the error message --- etemplate/js/et2_core_widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index ca62b77309..73f856d5ce 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -747,7 +747,7 @@ var et2_widget = Class.extend( } catch (e) { - egw.debug("error", "There was an error with a widget:\nError:%o\nProblem widget:%o",e.message,this._children[i],e.stack); + egw.debug("error", "There was an error with a widget:\nError:%o\nProblem widget:%o",e.valueOf(),this._children[i],e.stack); } } }