Skip to content

Commit

Permalink
Update OnLogMessage.cs
Browse files Browse the repository at this point in the history
#!skip-build!#

Signed-off-by: Nikita Petko <petko@vmminfra.net>
  • Loading branch information
jf-06 authored Oct 9, 2024
1 parent 709b8a6 commit e830e97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/grid-bot/lib/events/Events/OnLogMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public Task Invoke(LogMessage message)
!_settings.DebugAllowTaskCanceledExceptions)
return Task.CompletedTask;
#endif

if (message.Exception is InteractionException or CommandException)
return Task.CompletedTask;

Expand Down

0 comments on commit e830e97

Please sign in to comment.