Better default behavior for SerializationError.formatMsg
This commit is contained in:
parent
37bc0db558
commit
9631fbd1c8
|
@ -5,5 +5,5 @@ type
|
|||
|
||||
method formatMsg*(err: ref SerializationError, filename: string): string
|
||||
{.gcsafe, base, raises: [Defect].} =
|
||||
"Serialisation error while processing " & filename
|
||||
"Serialisation error while processing " & filename & ":" & err.msg
|
||||
|
||||
|
|
Loading…
Reference in New Issue