mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Fix exception when correcting instance online status
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Serilog.Context;
|
||||
using System;
|
||||
@@ -101,6 +101,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
|
||||
logger.LogWarning(
|
||||
"Instance {0} is says it's {1} in the database, but it is actually {2} in the service. Updating the database to reflect this...",
|
||||
metadata.Id,
|
||||
online ? OfflineWord : OnlineWord,
|
||||
online ? OnlineWord : OfflineWord);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user