Skip to content

Commit

Permalink
better log
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoclpf committed Jun 8, 2024
1 parent 592578f commit 8ea3edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middlewares/rateLimiter.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function incrementAccessKeyCount (apiAccessKey) {

dbPool.query(query, (err, results, fields) => {
if (err) {
console.error('Error updating counter: ', err.code)
console.error('Error updating counter in MySQL DB: ', err.code)
debug(err)
} else {
debug('Stats Count increment OK for key: ', apiAccessKey)
Expand Down

0 comments on commit 8ea3edf

Please sign in to comment.