From 665e05259637a111fc3a7b4b2bcf369cd251511c Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 26 Apr 2018 15:09:17 +0100 Subject: [PATCH] Allow debugging of unhandled login errors --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 92baecb787..1eb96c9f11 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -352,7 +352,7 @@ export default React.createClass({ defaultDeviceDisplayName: this.props.defaultDeviceDisplayName, }); }).catch((e) => { - console.error(`Error attempting to load session: ${e}`); + console.error('Error attempting to load session', e); return false; }).then((loadedSession) => { if (!loadedSession) {