mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 22:33:49 +00:00
make jsconsole.assertion errors less confusing in logs (#17179)
* make jsconsole.assertion errors less confusing in logs * address comments * fixup
This commit is contained in:
@@ -75,7 +75,7 @@ since (1, 5):
|
||||
func getMsg(info: InstantiationInfo; msg: string): string =
|
||||
var temp = ""
|
||||
temp.toLocation(info.filename, info.line, info.column + 1)
|
||||
result.addQuoted(temp)
|
||||
result.addQuoted("[jsAssert] " & temp)
|
||||
result.add ','
|
||||
result.addQuoted(msg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user