Skip to content

Commit 2cf830b

Browse files
Minor code fixes and updates in errors.py
1 parent 2f17f7f commit 2cf830b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

fise/errors.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,11 @@ class QueryHandleError(Exception):
1818

1919
def __init__(self, description: str = "") -> None:
2020

21-
# Only prints the error description if specified
22-
# explicitly else prints any empty string.
21+
# Only prints the error description if specified explicitly.
2322
if description:
2423
description = "\nDescription: " + description
2524

26-
print(
27-
f"\033[31m{self._error}{description}\033[0m",
28-
file=sys.stderr,
29-
)
25+
print(f"\033[31m{self._error}{description}\033[0m", file=sys.stderr)
3026
super().__init__()
3127

3228

0 commit comments

Comments
 (0)