Handle missing binaries

This commit is contained in:
Matt Godbolt
2017-07-26 14:57:28 -05:00
parent 6ae7d04c4d
commit df917cc7ca
+5 -1
View File
@@ -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) {