Skip to content

Commit 45c7772

Browse files
author
Nils Bars
authored
Update error.py
1 parent c8124e6 commit 45c7772

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

ref_utils/error.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
class RefUtilsError(Exception):
66
"""
7-
Base class of all exception we might raise during test execution.
8-
This class allows a "submission test" to distinguisch exceptions raised
9-
on purpose from those that are unexpected and not properly handeld by the
7+
Base class of all exceptions we might raise during test execution.
8+
This class allows a "submission test" to distinguish exceptions raised
9+
on purpose from those unexpected and not properly handled by the
1010
ref-utils.
1111
"""
1212
def __init__(self, *args: str, **kwargs: Any) -> None:
@@ -35,11 +35,11 @@ def __init__(self, cmd: str, exit_code: int, stdout: bytes, stderr: bytes) -> No
3535
self.msg = f'[!] Execution of {cmd} failed with exitcode {exit_code_str}.\n'
3636
self.msg += '--------------------- STDOUT ---------------------\n'
3737
self.msg += decode_or_str(self.stdout)
38-
self.msg += '--------------------- STDERR ---------------------'
38+
self.msg += '\n--------------------- STDERR ---------------------\n'
3939
self.msg += decode_or_str(self.stderr)
4040

4141
def __str__(self) -> str:
4242
return self.msg
4343

4444
class RefUtilsAssertionError(RefUtilsError):
45-
pass
45+
pass

0 commit comments

Comments
 (0)