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

This commit is contained in:
Qstick 2019-09-30 20:46:47 -04:00
parent 31c73fe448
commit de7d6c68b8
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@ namespace NzbDrone.Core.Update
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)