mirror of https://github.com/vector-im/riot-web
Remove logs when submitting bug reports
parent
beba4d2ae3
commit
53a16158c7
|
@ -373,7 +373,7 @@ module.exports = {
|
||||||
// the in-memory console logs.
|
// the in-memory console logs.
|
||||||
let logs = [];
|
let logs = [];
|
||||||
if (store) {
|
if (store) {
|
||||||
logs = await store.consume(false);
|
logs = await store.consume(true);
|
||||||
}
|
}
|
||||||
// and add the most recent console logs which won't be in the store yet.
|
// and add the most recent console logs which won't be in the store yet.
|
||||||
const consoleLogs = logger.flush(); // remove logs from console
|
const consoleLogs = logger.flush(); // remove logs from console
|
||||||
|
|
Loading…
Reference in New Issue