Skip to content

Commit

Permalink
Undo turning warnings back on (element-hq#7409)
Browse files Browse the repository at this point in the history
I guess that turns on warnings for everything, not just riot-web

Signed-off-by: Aaron Raimist <[email protected]>
  • Loading branch information
aaronraimist committed Oct 5, 2018
1 parent d035efb commit d836ad8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vector/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit d836ad8

Please sign in to comment.