include exception object, instead of ex.toString(), in error log