Forráskód Böngészése

Continue mounting also if command fails with error code. Issue #267

Markus Kreusch 9 éve
szülő
commit
008e3e3b05

+ 1 - 1
main/frontend-webdav/src/main/java/org/cryptomator/frontend/webdav/mount/WindowsWebDavMounter.java

@@ -133,7 +133,7 @@ final class WindowsWebDavMounter implements WebDavMounterStrategy {
 				String addStdErr = IOUtils.toString(addCmd.getErrorStream(), StandardCharsets.UTF_8);
 				throw new CommandFailedException(addStdErr);
 			}
-		} catch (IOException e) {
+		} catch (IOException | CommandFailedException e) {
 			LOG.info("Failed to add proxy overrides", e);
 		} catch (InterruptedException e) {
 			Thread.currentThread().interrupt();