From 2776ca769f24fd305fd2df92653bda53d8092e71 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 25 Sep 2018 13:18:28 -0400 Subject: [PATCH] Add missing ArgumentNullException --- src/Tgstation.Server.Host/Core/Application.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index 3c654d2c52..1e6a0d62d3 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -250,6 +250,8 @@ namespace Tgstation.Server.Host.Core throw new ArgumentNullException(nameof(applicationBuilder)); if (logger == null) throw new ArgumentNullException(nameof(logger)); + if (serverControl == null) + throw new ArgumentNullException(nameof(serverControl)); logger.LogInformation(VersionString);