mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Fix call to shouldRetryWithException
This commit is contained in:
@@ -104,7 +104,7 @@ export const applyActionsFromDevice = async ({ database, request, websocket, con
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
if (shouldRetryWithException(ex, database)) {
|
if (shouldRetryWithException(database, ex)) {
|
||||||
eventHandler.countEvent('applyActionsFromDevice got exception which should cause retry')
|
eventHandler.countEvent('applyActionsFromDevice got exception which should cause retry')
|
||||||
|
|
||||||
throw ex
|
throw ex
|
||||||
|
|||||||
Reference in New Issue
Block a user