Skip to content

Commit d836ad8

Browse files
committed
Undo turning warnings back on (element-hq#7409)
I guess that turns on warnings for everything, not just riot-web Signed-off-by: Aaron Raimist <aaron@raim.ist>
1 parent d035efb commit d836ad8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/vector/index.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ import {getVectorConfig} from './getconfig';
6262

6363
let lastLocationHashSet = null;
6464

65+
// Disable warnings for now: we use deprecated bluebird functions
66+
// and need to migrate, but they spam the console with warnings.
67+
Promise.config({warnings: false});
68+
6569
function initRageshake() {
6670
rageshake.init().then(() => {
6771
console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");

0 commit comments

Comments
 (0)