1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

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

View file

@ -214,7 +214,8 @@ public void Execute(ApplicationUpdateCommand message)
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)