mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-05 10:45:51 +00:00
No need to show the full traceback here
Also I wouldn't consider it fatal if the hook fails.
This commit is contained in:
parent
58e1a027ef
commit
e0167abf8c
1 changed files with 2 additions and 2 deletions
|
|
@ -171,5 +171,5 @@ class FilesystemStorage(Storage):
|
|||
self.post_hook, fpath))
|
||||
try:
|
||||
subprocess.call([self.post_hook, fpath])
|
||||
except OSError:
|
||||
logger.exception('Error executing external hook.')
|
||||
except OSError as e:
|
||||
logger.warning('Error executing external hook: {}'.format(str(e)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue