Fixed: Log, Don't throw when trying update in docker

pull/2/head
Qstick 5 years ago
parent 31c73fe448
commit de7d6c68b8

@ -214,7 +214,8 @@ namespace NzbDrone.Core.Update
if (_osInfo.IsDocker) if (_osInfo.IsDocker)
{ {
throw new CommandFailedException("Updating is disabled inside a docker container. Please update the container image."); _logger.ProgressDebug("Updating is disabled inside a docker container. Please update the container image.");
return;
} }
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically && message.Trigger != CommandTrigger.Manual) if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically && message.Trigger != CommandTrigger.Manual)

Loading…
Cancel
Save