diff options
Diffstat (limited to 'src/click/utils.py')
-rw-r--r-- | src/click/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/click/utils.py b/src/click/utils.py index 91a372d..16033d6 100644 --- a/src/click/utils.py +++ b/src/click/utils.py @@ -154,7 +154,7 @@ class LazyFile: except OSError as e: # noqa: E402 from .exceptions import FileError - raise FileError(self.name, hint=e.strerror) + raise FileError(self.name, hint=e.strerror) from e self._f = rv return rv |