mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Add line for debugging
This commit is contained in:
parent
0fd07ec9de
commit
318fc53ef6
1 changed files with 4 additions and 1 deletions
|
|
@ -141,7 +141,10 @@ class DavStorage(Storage):
|
|||
if isinstance(etag, bytes):
|
||||
etag = etag.decode(response.encoding)
|
||||
rv.append((href, Item(obj), etag))
|
||||
hrefs_left.remove(href)
|
||||
try:
|
||||
hrefs_left.remove(href)
|
||||
except KeyError as e:
|
||||
raise KeyError('{} doesn\'t exist in {}'.format(href, hrefs_left))
|
||||
for href in hrefs_left:
|
||||
raise exceptions.NotFoundError(href)
|
||||
return rv
|
||||
|
|
|
|||
Loading…
Reference in a new issue