Skip to content
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

Improve WebDAV error message #2485

Closed
laurent22 opened this issue Feb 10, 2020 · 0 comments
Closed

Improve WebDAV error message #2485

laurent22 opened this issue Feb 10, 2020 · 0 comments
Labels
bug It's a bug high High priority issues sync sync related issue

Comments

@laurent22
Copy link
Owner

https://discourse.joplinapp.org/t/typeerror-cannot-use-in-operator-to-search-for-d-multistatus-in-null/5759

Detect error condition and throw "Not a valid WebDAV response".

2020-02-10 15:18:07: "TypeError: Cannot use 'in' operator to search for 'd:multistatus' in null
TypeError: Cannot use 'in' operator to search for 'd:multistatus' in null
at WebDavApi.valueFromJson (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\WebDavApi.js:142:72)
at WebDavApi.arrayFromJson (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\WebDavApi.js:180:15)
at WebDavApi.handleNginxHack_ (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\WebDavApi.js:314:30)
at WebDavApi.exec (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\WebDavApi.js:436:8)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async FileApiDriverWebDav.list (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\file-api-driver-webdav.js:136:18)
at async tryAndRepeat (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\file-api.js:37:19)
at async FileApi.list (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\file-api.js:134:18)
at async Synchronizer.lockFiles_ (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\synchronizer.js:225:18)
at async Synchronizer.checkLock_ (C:\Users\Poto\AppData\Local\Temp\1WrQk9srrGlegN3qqW05gYgHbd3\resources\app.asar\lib\synchronizer.js:241:21)"

@laurent22 laurent22 added bug It's a bug sync sync related issue high High priority issues labels Feb 10, 2020
@lock lock bot locked and limited conversation to collaborators Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug It's a bug high High priority issues sync sync related issue
Projects
None yet
Development

No branches or pull requests

1 participant