Commit f47ced55 authored by mouadh's avatar mouadh

print exception

parent 82e81c97
...@@ -101,6 +101,8 @@ class MdxEngine: ...@@ -101,6 +101,8 @@ class MdxEngine:
if os.path.isdir(os.path.join(cubes_location, file)) if os.path.isdir(os.path.join(cubes_location, file))
] ]
except Exception: except Exception:
type, value, traceback = sys.exc_info()
print('Error opening %s: %s' % (value.filename, value.strerror))
print('no csv folders') print('no csv folders')
pass pass
...@@ -120,6 +122,8 @@ class MdxEngine: ...@@ -120,6 +122,8 @@ class MdxEngine:
] ]
except Exception: except Exception:
type, value, traceback = sys.exc_info()
print('Error opening %s: %s' % (value.filename, value.strerror))
print('no database connexion') print('no database connexion')
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment