mirror of
https://github.com/fluencelabs/assemblyscript-json
synced 2025-04-25 06:42:24 +00:00
Improve control character error message
This commit is contained in:
parent
1798ae8368
commit
8b0aa58c49
@ -103,7 +103,7 @@ export class JSONEncoder {
|
||||
this.write("\\t");
|
||||
} else {
|
||||
// TODO: Implement encoding for other contol characters
|
||||
assert(false, "Unsupported control chracter");
|
||||
assert(false, "Unsupported control character code: " + char.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user