diff --git a/services/web/app/src/Features/Compile/CompileController.js b/services/web/app/src/Features/Compile/CompileController.js index 7261b6d0e0..ceba2271f8 100644 --- a/services/web/app/src/Features/Compile/CompileController.js +++ b/services/web/app/src/Features/Compile/CompileController.js @@ -77,8 +77,10 @@ module.exports = CompileController = { validationProblems ) => { if (error) { + Metrics.inc('compile-error') return next(error) } + Metrics.inc('compile-status', 1, { status: status }) res.json({ status, outputFiles,