Add expired log (#2456)

* Add expired log

* Add service
zio/stable
Eric Bailey 2024-01-11 00:52:46 -06:00 committed by GitHub
parent 231c528c88
commit f7b01c3542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -136,9 +136,11 @@ function createPersistSessionHandler(
event, event,
did: refreshedAccount.did, did: refreshedAccount.did,
handle: refreshedAccount.handle, handle: refreshedAccount.handle,
service: refreshedAccount.service,
}) })
if (expired) { if (expired) {
logger.warn(`session: expired`)
emitSessionDropped() emitSessionDropped()
} }