mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
parent
0044a7af74
commit
04f06b69f0
1 changed files with 4 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ def _fetch_value(opts, key):
|
|||
password_cache[cache_key] = e
|
||||
raise
|
||||
else:
|
||||
if not rv:
|
||||
raise exceptions.UserError('Empty value for {}, this most likely '
|
||||
'indicates an error.'
|
||||
.format(key))
|
||||
password_cache[cache_key] = rv
|
||||
return rv
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue