diff --git a/Core/ModuleInstaller.cs b/Core/ModuleInstaller.cs index ad68893080..21add3212c 100644 --- a/Core/ModuleInstaller.cs +++ b/Core/ModuleInstaller.cs @@ -771,6 +771,14 @@ private void Uninstall(string identifier, ref HashSet possibleConfigOnly file_transaction.Delete(absPath); } } + catch (FileNotFoundException exc) + { + log.Debug("Ignoring missing file while deleting", exc); + } + catch (DirectoryNotFoundException exc) + { + log.Debug("Ignoring missing directory while deleting", exc); + } catch (IOException) { // "The specified file is in use."