Browse code

Fix: handle all kind of ctx exceptions

Thomas Fricker authored on 05/09/2019 07:46:35
Showing 1 changed files
... ...
@@ -77,7 +77,7 @@ public abstract class WebDavFileHostingService implements IFileHostingService {
77 77
 		try {
78 78
 			ConnectionContext con = getConnectionContext(context);
79 79
 			return con != null;
80
-		} catch (NullPointerException e) {
80
+		} catch (Exception e) {
81 81
 			return false;
82 82
 		}
83 83
 	}