aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/reader/stat.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/reader/stat.py')
-rw-r--r--bsie/reader/stat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsie/reader/stat.py b/bsie/reader/stat.py
index 6d40ab8..592d912 100644
--- a/bsie/reader/stat.py
+++ b/bsie/reader/stat.py
@@ -25,8 +25,8 @@ class Stat(reader.Reader):
def __call__(self, path: str) -> os.stat_result:
try:
return os.stat(path)
- except Exception:
- raise errors.ReaderError(path)
+ except Exception as err:
+ raise errors.ReaderError(path) from err
## EOF ##