From d836ad8dbca74a77046a24a5f02238d91204bccc Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 5 Oct 2018 11:05:25 -0500 Subject: [PATCH] Undo turning warnings back on (#7409) I guess that turns on warnings for everything, not just riot-web Signed-off-by: Aaron Raimist --- src/vector/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vector/index.js b/src/vector/index.js index 4da035d9b5..ec3cb4dc81 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -62,6 +62,10 @@ import {getVectorConfig} from './getconfig'; let lastLocationHashSet = null; +// Disable warnings for now: we use deprecated bluebird functions +// and need to migrate, but they spam the console with warnings. +Promise.config({warnings: false}); + function initRageshake() { rageshake.init().then(() => { console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");