Skip to content

Commit

Permalink
only log 500s
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Jan 12, 2015
1 parent dbb4240 commit 0b3516f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internals.factory.prototype.fuzz = function (callback) {
var fuzzed = generateFuzz();
self.server.inject(fuzzed, function (res) {

if (res.statusCode >= 400) {
if (res.statusCode >= 500) {
self.log(['bizzarolout', 'error'], route.path + ' got an error: ' + JSON.stringify(fuzzed));
}
next(null, res);
Expand Down

0 comments on commit 0b3516f

Please sign in to comment.