log error-message not error-object (which get logged as {})

This commit is contained in:
Ralf Becker 2014-02-17 13:10:20 +00:00
parent 597e8fdeac
commit a861f16565

View File

@ -271,7 +271,7 @@ var et2_arrayMgr = Class.extend(
} }
catch(e) catch(e)
{ {
egw.debug("error", e); egw.debug("error", typeof e == 'object' ? e.message : e);
} }
} }
} }