aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/sort.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sort.py b/contrib/sort.py
index 54b2cbaa6..921343162 100755
--- a/contrib/sort.py
+++ b/contrib/sort.py
@@ -120,8 +120,8 @@ def main(args):
120 except PermissionError: 120 except PermissionError:
121 print(f"[ Error ] Can't read/write `{filename}'") 121 print(f"[ Error ] Can't read/write `{filename}'")
122 exit_code = 1 122 exit_code = 1
123 except: 123 except Exception as err:
124 print(f"[ Error ] An error occurred while processing `{filename}'") 124 print(f"[ Error ] An error occurred while processing `{filename}': {err}")
125 exit_code = 1 125 exit_code = 1
126 return exit_code 126 return exit_code
127 127