Merge pull request #1444 from tgstation/ForJolly [TGSDeploy]

Buff Discord logging slightly
This commit is contained in:
Jordan Dominion
2023-04-01 23:53:07 -04:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<!-- Integration tests will ensure they match across the board -->
<Import Project="ControlPanelVersion.props" />
<PropertyGroup>
<TgsCoreVersion>5.7.0</TgsCoreVersion>
<TgsCoreVersion>5.7.1</TgsCoreVersion>
<TgsConfigVersion>4.4.0</TgsConfigVersion>
<TgsApiVersion>9.9.0</TgsApiVersion>
<TgsApiLibraryVersion>10.3.0</TgsApiLibraryVersion>
@@ -661,7 +661,11 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
var discordChannelResponse = await channelsClient.GetChannelAsync(new Snowflake(channelId), cancellationToken);
if (!discordChannelResponse.IsSuccess)
{
Logger.LogWarning("Error retrieving discord channel {0}: {1}", channelId, discordChannelResponse.Error.Message);
Logger.LogWarning(
"Error retrieving discord channel {0}: {1} Inner: {2}",
channelId,
discordChannelResponse.Error.Message,
discordChannelResponse.Inner?.Error?.Message);
remapRequired = true;
return null;
}