Undo turning warnings back on (#7409)
I guess that turns on warnings for everything, not just riot-web Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
d035efb14e
commit
d836ad8dbc
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ import {getVectorConfig} from './getconfig';
|
||||||
|
|
||||||
let lastLocationHashSet = null;
|
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() {
|
function initRageshake() {
|
||||||
rageshake.init().then(() => {
|
rageshake.init().then(() => {
|
||||||
console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");
|
console.log("Initialised rageshake: See https://bugs.chromium.org/p/chromium/issues/detail?id=583193 to fix line numbers on Chrome.");
|
||||||
|
|
Loading…
Reference in a new issue