Skip to content

Commit 6c0db48

Browse files
Merge pull request #32 from nullinside-development-group/feature/Logging
Reducing MySQL Error Logging
2 parents a5b400b + daa5f83 commit 6c0db48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Nullinside.Api.TwitchBot/Services/MainService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ protected override Task ExecuteAsync(CancellationToken stoppingToken) {
117117
}
118118
catch (Exception ex) {
119119
_log.LogError(ex, "Main Failed");
120+
await Task.Delay(TimeSpan.FromSeconds(10));
120121
}
121122
}
122123
}, stoppingToken);

0 commit comments

Comments
 (0)