Merge pull request #2190 from matrix-org/dbkr/fix_error_printing

Fix error logging
pull/21833/head
David Baker 2018-10-02 20:27:32 +01:00 committed by GitHub
commit 76f64bf733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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