diff --git a/src/Tgstation.Server.Client/ServerErrorException.cs b/src/Tgstation.Server.Client/ServerErrorException.cs index f5a243678c..940f3513a7 100644 --- a/src/Tgstation.Server.Client/ServerErrorException.cs +++ b/src/Tgstation.Server.Client/ServerErrorException.cs @@ -1,5 +1,6 @@ using System; using System.Net; +using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { @@ -22,7 +23,11 @@ namespace Tgstation.Server.Client /// Construct an with /// /// The raw HTML response of the - public ServerErrorException(string html) : base(null, HttpStatusCode.InternalServerError) + public ServerErrorException(string html) : base(new ErrorMessage + { + Message = "An internal server error occurred!", + SeverApiVersion = null + }, HttpStatusCode.InternalServerError) { Html = html; }