mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
do emergency serialization without log filter
This commit is contained in:
parent
c3637def2e
commit
b28eefb2db
@ -74,7 +74,10 @@ export class BaseLogger {
|
|||||||
for (const openItem of this._openItems) {
|
for (const openItem of this._openItems) {
|
||||||
openItem.finish();
|
openItem.finish();
|
||||||
try {
|
try {
|
||||||
const serialized = openItem.serialize(this._baseLogLevel);
|
// for now, serialize with an all-permitting filter
|
||||||
|
// as the createFilter function would get a distorted image anyway
|
||||||
|
// about the duration of the item, etc ...
|
||||||
|
const serialized = openItem.serialize(new LogFilter(), 0);
|
||||||
if (serialized) {
|
if (serialized) {
|
||||||
this._persistItem(serialized);
|
this._persistItem(serialized);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user