From e1f68551f1ff75b7658bad242b1f5e5fd7f2efb8 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 2 Oct 2018 19:23:43 +0100 Subject: [PATCH] Fix error logging --- src/MatrixClientPeg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MatrixClientPeg.js b/src/MatrixClientPeg.js index f5872812de..9865044717 100644 --- a/src/MatrixClientPeg.js +++ b/src/MatrixClientPeg.js @@ -109,7 +109,7 @@ class MatrixClientPeg { await promise; } catch (err) { // log any errors when starting up the database (if one exists) - console.error(`Error starting matrixclient store: ${err}`); + console.error('Error starting matrixclient store', err); } // regardless of errors, start the client. If we did error out, we'll