Skip to content

Commit 171f1e0

Browse files
committed
improve(mcl/json): Slightly improve the error format
1 parent 43c73fd commit 171f1e0

File tree

1 file changed

+1
-1
lines changed
  • packages/mcl/src/src/mcl/utils

1 file changed

+1
-1
lines changed

packages/mcl/src/src/mcl/utils/json.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,5 +328,5 @@ T tryDeserializeFromJsonFile(T)(string path)
328328

329329
return json
330330
.fromJSON!T()
331-
.tryGet("Error deserializing %s. JSON: %s".format(T.stringof.bold, json.toPrettyString().bold));
331+
.tryGet("Error deserializing %s. JSON: \n%s".format(T.stringof.bold, json.toPrettyString().bold));
332332
}

0 commit comments

Comments
 (0)