Skip to content

Commit fbfa9cb

Browse files
cprussinmisterdjules
authored andcommitted
fix: remove model failure logging (#129)
1 parent c524de8 commit fbfa9cb

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

lib/handlers/buildModels.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -184,30 +184,6 @@ function buildModelsWrapper(modelBucket, modelFetcher) {
184184
failedModels.push(op.result);
185185
}
186186
});
187-
188-
// log out context of failed models
189-
log.error(
190-
'all models built, but ' +
191-
failedModelNames.length +
192-
' model(s) failed: ' +
193-
failedModelNames.join(', ')
194-
);
195-
196-
// log out the stack trace for each individual failed model
197-
_.forEach(modelErrs, function(modelErr, idx) {
198-
log.error(
199-
{ conductorModel: failedModels[idx] },
200-
idx +
201-
1 +
202-
' of ' +
203-
modelErrs.length +
204-
' failed models: ' +
205-
failedModels[idx].name
206-
);
207-
208-
// x of y to be used in error msgs
209-
log.error(modelErr);
210-
});
211187
}
212188

213189
// we actually don't want a failed model to force an error page.

0 commit comments

Comments
 (0)