We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 829142e commit 976a66dCopy full SHA for 976a66d
src/metatrain/utils/errors.py
@@ -12,8 +12,8 @@ class ArchitectureError(Exception):
12
13
def __init__(self, exception):
14
super().__init__(
15
- f"{exception}\n\nThe error above most likely originates from an "
16
- "architecture.\n\nIf you think this is a bug, please contact its "
17
- "maintainer (see the architecture's documentation) and include the full "
18
- "traceback error.log."
+ f"{exception.__class__.__name__}: {exception}\n\n"
+ "The error above most likely originates from an architecture.\n\n"
+ "If you think this is a bug, please contact its maintainer (see the "
+ "architecture's documentation) and include the full traceback error.log."
19
)
0 commit comments