fix toString

This commit is contained in:
Martin Aeschlimann
2021-01-18 13:16:51 +01:00
parent 253d99a16f
commit d3611cbb63

View File

@@ -171,7 +171,7 @@ export class CLIServerBase {
res.write(output);
} catch (e) {
res.writeHead(500);
res.write(toString());
res.write(String(e));
}
res.end();
}