Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixing the reviews on pull request #148

  • Loading branch information...
commit 36573eadd83c0c25a751fc088bdc7d2f2d8c4420 1 parent 9039058
@pradeepmurugesan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 controllers/baker.js
View
6 controllers/baker.js
@@ -69,9 +69,9 @@ exports.baker = function(req, res) {
err = Badge.validateBody(assertion);
if (err) {
- errorString = "Invalid Assertion :" + JSON.stringify(err);
- logger.warn(errorString);
- return res.send(errorString,400);
+ var errorString = JSON.stringify(err);
+ logger.warn('Invalid Assertion :' + errorString);
+ return res.send(errorString, 400);
}
// if the url for the image isn't fully qualified, parse what we have
Please sign in to comment.
Something went wrong with that request. Please try again.