@@ -924,7 +924,7 @@ class PluginLocal extends EventEmitter<
)
this.emit('beforeunload', eventBeforeUnload)
} catch (e) {
- this.logger.error('[beforeunload Error]', e)
+ this.logger.error('[beforeunload]', e)
}
await this.dispose()
@@ -513,7 +513,7 @@ export class LSPluginUser
cb && (await cb(rest))
actor?.resolve(null)
- console.debug(`${_caller.debugTag} [beforeunload] `, e)
+ this.logger.error(`[beforeunload] `, e)
actor?.reject(e)
})