summaryrefslogtreecommitdiff
path: root/js/console.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-08-15 20:57:36 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-08-20 16:53:39 -0400
commit868e8d88662ad5691212afc733e83f5de1c0979d (patch)
treeb8edff8614255140f1b79f4f563457157a1271f7 /js/console.ts
parent7b0618c20b5348230304323efd75bc65361bbe1e (diff)
First pass at fetch()
With help from Thomas Ghysels <info@thomasg.be>
Diffstat (limited to 'js/console.ts')
-rw-r--r--js/console.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/console.ts b/js/console.ts
index 48ecc6e7e..2eb5e27c0 100644
--- a/js/console.ts
+++ b/js/console.ts
@@ -112,7 +112,8 @@ export class Console {
// tslint:disable-next-line:no-any
warn(...args: any[]): void {
- this.printFunc(`ERROR: ${stringifyArgs(args)}`);
+ // TODO Log to stderr.
+ this.printFunc(stringifyArgs(args));
}
error = this.warn;