diff --git a/Explorer/Assets/DCL/Chat/MessageBus/CommandsHandleChatMessageBus.cs b/Explorer/Assets/DCL/Chat/MessageBus/CommandsHandleChatMessageBus.cs index 9256f8861d..ca22cd4861 100644 --- a/Explorer/Assets/DCL/Chat/MessageBus/CommandsHandleChatMessageBus.cs +++ b/Explorer/Assets/DCL/Chat/MessageBus/CommandsHandleChatMessageBus.cs @@ -8,6 +8,7 @@ using System.Linq; using System.Threading; using Utility; +using DCL.Diagnostics; namespace DCL.Chat.MessageBus { @@ -69,7 +70,11 @@ private async UniTaskVoid HandleChatCommandAsync(ChatChannel.ChannelId channelId string response = await command.ExecuteCommandAsync(parameters, commandCts.Token); SendFromSystem(channelId, channelType, response); } - catch (Exception) { SendFromSystem(channelId, channelType, "🔴 Error running command."); } + catch (Exception e) + { + SendFromSystem(channelId, channelType, "🔴 Error running command."); + ReportHub.LogError(ReportCategory.UNSPECIFIED, $"Error running command: {e}"); + } return; }