diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-02-25 05:02:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 14:02:00 +0100 |
commit | b725e0ed4d6a799cda2074b629883eaae92a1706 (patch) | |
tree | 8e6c78a90d7267f675e2f90db35fa393e8e34e14 | |
parent | f07bdbe945ff3d459e42ce10e253bb427126a1b9 (diff) | |
download | Nim-b725e0ed4d6a799cda2074b629883eaae92a1706.tar.gz |
make jsconsole.assertion errors less confusing in logs (#17179)
* make jsconsole.assertion errors less confusing in logs * address comments * fixup
-rw-r--r-- | lib/js/jsconsole.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/jsconsole.nim b/lib/js/jsconsole.nim index 87dd9eeec..8b0bc2620 100644 --- a/lib/js/jsconsole.nim +++ b/lib/js/jsconsole.nim @@ -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) |