Skip to content

Commit

Permalink
tweaks to log levels
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Feb 5, 2020
1 parent 3028721 commit 3bcb425
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion microservices/requestApi/routes/routes/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ var buildDynamic = function(projectConfig, db, notify, util, router){
logger.debug("file", myFile, "put up for validation");
logger.verbose("put file", myFile, " up for validation", apiErr, apiRes, body);
if (apiErr) {
logger.error("Error validating file: ", apiErr);
logger.debug("Error validating file: ", apiErr);
}
});
})(findRes.files[i])
Expand Down
2 changes: 1 addition & 1 deletion microservices/requestApi/routes/v2/routes/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ var getRouter = function(db){

request.save(function(saveErr, result){
if (saveErr || !result) {
log.error("Error saving request", saveErr, result);
log.debug("Error saving request", saveErr, result);
res.status(500);
res.json({error: saveErr.message});
return;
Expand Down

0 comments on commit 3bcb425

Please sign in to comment.