Skip to content

Commit 000260d

Browse files
committed
[__main__] refactor error message
1 parent d056b9b commit 000260d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/fdiff/__main__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@ def run(argv):
123123
exclude_tables=exclude_list,
124124
)
125125
except Exception as e:
126-
sys.stderr.write(
127-
f"[*] ERROR: During the attempt to diff the requested files the following error was encountered: "
128-
f"{e}{os.linesep}"
129-
)
126+
sys.stderr.write(f"[*] ERROR: {e}{os.linesep}")
130127
sys.exit(1)
131128

132129
# re-define the line contents of the diff iterable

0 commit comments

Comments
 (0)