From a37dae4fc3fb815b330657a4ad1556a970ef964a Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Mon, 18 May 2020 10:58:50 -0400 Subject: [PATCH] Minor log line --- .../Components/Chat/ChatTrackingContext.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs b/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs index 4663724586..6845e84a87 100644 --- a/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs +++ b/src/Tgstation.Server.Host/Components/Chat/ChatTrackingContext.cs @@ -29,13 +29,17 @@ namespace Tgstation.Server.Host.Components.Chat public IEnumerable CustomCommands { get => customCommands; - set => customCommands = (value ?? throw new InvalidOperationException("value cannot be null!")) + set + { + customCommands = (value ?? throw new InvalidOperationException("value cannot be null!")) .Select(customCommand => { customCommand.SetHandler(customCommandHandler); return customCommand; }) .ToList(); + logger.LogTrace("Custom commands set."); + } } ///