Skip to content

Commit 2e430be

Browse files
committed
fix(NextcloudBookmarks): Be more specific about which URL triggered API error
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 1c71d95 commit 2e430be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/adapters/NextcloudBookmarks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes
861861
throw new ParseResponseError(e.message)
862862
}
863863
if (json.status !== 'success') {
864-
throw new Error('Nextcloud API error: \n' + JSON.stringify(json))
864+
throw new Error('Nextcloud API error for request ' + verb + ' ' + relUrl + ' : \n' + JSON.stringify(json))
865865
}
866866

867867
return json

0 commit comments

Comments
 (0)