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

This commit is contained in:
Markus Kreusch
2016-08-11 09:39:38 +02:00
parent 94a5bf7596
commit 008e3e3b05
@@ -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();