You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/src/main/kotlin/pl/allegro/tech/github/botorchestrator/infra/task/ReactToPullRequestChangeProps.kt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,5 +5,6 @@ import java.time.Duration as JavaDuration
logger.error(e) { "No available slots for ${inst.taskName}/${inst.id} for PR ${inst.data.event.data.pullRequest.htmlUrl}" }
66
+
logger.warn(e) { "No available slots for ${inst.taskName}/${inst.id} for PR ${inst.data.event.data.pullRequest.htmlUrl}, will retry in ${pullRequestProps.noSlotsSleepDuration}" }
67
+
throw e
59
68
} catch (e:Exception) {
60
-
logger.error(e) { "Failed handling ${inst.id} for PR ${inst.data.event.data.pullRequest.htmlUrl}" }
69
+
logger.error(e) { "Failed handling ${inst.id} for PR ${inst.data.event.data.pullRequest.htmlUrl}, will retry in ${pullRequestProps.sleepDuration}" }
logger.error(e) { "No available slots for ${inst.taskName}/${inst.id} for check_run ${inst.data.event.data.checkRun.id}" }
108
+
logger.warn(e) { "No available slots for ${inst.taskName}/${inst.id} for check_run ${inst.data.event.data.checkRun.id}, will retry in ${checkRunProps.noSlotsSleepDuration}" }
109
+
throw e
92
110
} catch (e:Exception) {
93
-
logger.error(e) { "Failed handling ${inst.id} for check_run ${inst.data.event.data.checkRun.id}" }
111
+
logger.error(e) { "Failed handling ${inst.id} for check_run ${inst.data.event.data.checkRun.id}, will retry in ${checkRunProps.sleepDuration}" }
0 commit comments