mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-07-01 00:51:36 +00:00
parent
17dd0aa173
commit
eb7f5f6b3e
|
@ -327,6 +327,10 @@ function patchMatrixClientForConciseExceptions() {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (!LogService.level.includes(LogLevel.TRACE)) {
|
||||||
|
// Remove stack trace to reduce impact on logs.
|
||||||
|
error.stack = "";
|
||||||
|
}
|
||||||
return cb(error, response, resBody);
|
return cb(error, response, resBody);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user