add err log

This commit is contained in:
rekram1-node 2025-09-05 16:34:35 -05:00
parent 3aa722b42c
commit c21639c984

View file

@ -450,7 +450,12 @@ export namespace Provider {
}
}
})
.catch(() => undefined)
.catch((error) => {
log.error("failed to find last used model", {
error,
})
return undefined
})
if (lastused) return lastused