aboutsummaryrefslogtreecommitdiff
path: root/lib/compile-handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compile-handler.js')
-rw-r--r--lib/compile-handler.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compile-handler.js b/lib/compile-handler.js
index 6d2ffd16c..60cc951e7 100644
--- a/lib/compile-handler.js
+++ b/lib/compile-handler.js
@@ -114,7 +114,7 @@ function CompileHandler(gccProps, compilerProps) {
var textBanner = compilerProps('textBanner');
this.handler = _.bind(function compile(req, res, next) {
- var source, options, filters, compiler;
+ var source, options, backendOptions, filters, compiler;
if (req.is('json')) {
// JSON-style request
compiler = this.compilersById[req.compiler || req.body.compiler];
@@ -187,7 +187,7 @@ function CompileHandler(gccProps, compilerProps) {
if (!_.isEmpty(result.stderr)) res.write("\nStandard error:\n" + textify(result.stderr));
} catch (ex) {
Raven.captureException(ex, {req: req});
- re.write("Error handling request: " + ex);
+ res.write("Error handling request: " + ex);
}
res.end('\n');
}