Skip to content

Commit

Permalink
bumping logError message to be more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmartinez-etsy committed Sep 9, 2021
1 parent 24d0e21 commit ee1e80b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ class Kevin {
return null;
}
if (configNames.length > 1) {
logError("Multiple configNames found, using first one.");
logError(
`Multiple configNames found for ${reqPath}: ${configNames.join(
","
)}. Using first one.`
);
}

return configNames[0];
Expand Down

0 comments on commit ee1e80b

Please sign in to comment.