Fix call to shouldRetryWithException

This commit is contained in:
Jonas Lochmann
2021-11-29 01:00:00 +01:00
parent 5950f7348f
commit 6bf6cce720
+1 -1
View File
@@ -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