diff options
Diffstat (limited to 'custodia/store/interface.py')
-rw-r--r-- | custodia/store/interface.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/custodia/store/interface.py b/custodia/store/interface.py index 5a7db93..11c2e36 100644 --- a/custodia/store/interface.py +++ b/custodia/store/interface.py @@ -1,12 +1,18 @@ # Copyright (C) 2015 Custodia Project Contributors - see LICENSE file +from custodia import log + class CSStoreError(Exception): - pass + def __init__(self, message=None): + log.debug(message) + super(CSStoreError, self).__init__(message) class CSStoreExists(Exception): - pass + def __init__(self, message=None): + log.debug(message) + super(CSStoreExists, self).__init__(message) class CSStore(object): |