mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
show module name in error message
This commit is contained in:
parent
8c8886a808
commit
6e19ed893a
4 changed files with 4 additions and 4 deletions
|
@ -55,7 +55,7 @@ def load(configuration):
|
|||
class_ = import_module(module).Collection
|
||||
except Exception as e:
|
||||
raise RuntimeError("Failed to load storage module %r: %s" %
|
||||
(storage_type, e)) from e
|
||||
(module, e)) from e
|
||||
logger.info("Storage type is %r", storage_type)
|
||||
|
||||
class CollectionCopy(class_):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue