mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +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) {
|
||||
openItem.finish();
|
||||
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) {
|
||||
this._persistItem(serialized);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user