From de7d6c68b8433681fe2ad6a632de806b7a136dc5 Mon Sep 17 00:00:00 2001 From: Qstick Date: Mon, 30 Sep 2019 20:46:47 -0400 Subject: [PATCH] Fixed: Log, Don't throw when trying update in docker --- src/NzbDrone.Core/Update/InstallUpdateService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Update/InstallUpdateService.cs b/src/NzbDrone.Core/Update/InstallUpdateService.cs index a7d8e6684..65ea1daeb 100644 --- a/src/NzbDrone.Core/Update/InstallUpdateService.cs +++ b/src/NzbDrone.Core/Update/InstallUpdateService.cs @@ -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)