diff options
Diffstat (limited to 'rtslib/root.py')
-rw-r--r-- | rtslib/root.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rtslib/root.py b/rtslib/root.py index 92f3396..0b50723 100644 --- a/rtslib/root.py +++ b/rtslib/root.py @@ -187,8 +187,8 @@ class RTSRoot(CFSNode): dict_remove(kwargs, ('exists', 'attributes', 'plugin', 'buffered_mode')) try: so_obj = so_cls(**kwargs) - except (TypeError, ValueError): - err_func("Could not create StorageObject %s" % so['name']) + except Exception as e: + err_func("Could not create StorageObject %s: %s" % (so['name'], e)) continue # Custom err func to include block name |