- Renamed CustomReaction model to NadekoExpression

- Used structured logging everywhere
This commit is contained in:
Kwoth
2022-01-04 07:35:55 +01:00
parent ef49030841
commit 3aa6a54b6e
30 changed files with 330 additions and 300 deletions

View File

@@ -63,7 +63,7 @@ public partial class Administration
}
catch (Exception ex)
{
Log.Warning(ex.ToString());
Log.Warning(ex, "Exception in the mute command");
await ReplyErrorLocalizedAsync(strs.mute_error);
}
}
@@ -124,7 +124,7 @@ public partial class Administration
}
catch (Exception ex)
{
Log.Warning(ex.ToString());
Log.Warning(ex, "Exception in the chatmute command");
await ReplyErrorLocalizedAsync(strs.mute_error);
}
}
@@ -148,7 +148,7 @@ public partial class Administration
}
catch (Exception ex)
{
Log.Warning(ex.ToString());
Log.Warning(ex, "Error in chatmute command");
await ReplyErrorLocalizedAsync(strs.mute_error);
}
}