-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught exception in method 'exists' #14
Comments
This was referenced Jun 4, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Using
connection.exists(path, callback)
creates an uncaught exception when the request cannot reach the webdav server. My case happens when my nextcloud server is down or shuts down during this request, which makesres
to be null in the following line:npm-WebDAV-Client/src/index.ts
Line 287 in ba7280b
There should be a sanity test to check if
res
is null before accessing thestatusCode
.The text was updated successfully, but these errors were encountered: