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.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/compile-handler.js b/lib/compile-handler.js
index b3ca0b86e..4e342d6b2 100644
--- a/lib/compile-handler.js
+++ b/lib/compile-handler.js
@@ -78,7 +78,11 @@ function CompileHandler(gccProps, compilerProps) {
compiler.mtime = res.mtime;
return compiler;
});
- }, this));
+ }, this))
+ .catch(function(err) {
+ logger.warn("Unable to stat compiler binary", err);
+ return null;
+ });
};
this.setCompilers = function (compilers) {