Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor #2

Merged
merged 18 commits into from
Jan 12, 2015
Prev Previous commit
Next Next commit
only log 500s
  • Loading branch information
nlf committed Jan 12, 2015
commit 0b3516f89b8471f7ccbafc4d26291eab6b788caf
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