Improve control character error message

This commit is contained in:
Vladimir Grichina 2019-03-25 22:54:34 -07:00
parent 1798ae8368
commit 8b0aa58c49

View File

@ -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());
}
}
}