Better default behavior for SerializationError.formatMsg

This commit is contained in:
Zahary Karadjov 2022-03-09 17:15:50 +02:00
parent 37bc0db558
commit 9631fbd1c8
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -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