Skip to content

Commit

Permalink
Merge pull request #3596 from airqo-platform/reduce-logging
Browse files Browse the repository at this point in the history
 just reducing logging
  • Loading branch information
Baalmart authored Oct 8, 2024
2 parents 0bba53c + 8c8e129 commit 5d2d919
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/device-registry/utils/create-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -2531,9 +2531,8 @@ const createEvent = {
}

if (errors.length > 0 && isEmpty(eventsAdded)) {
console.log("API: failed to store measurements");
logger.error(
`🐛🐛 API: failed to store measurements ${stringify(errors)}`
console.log(
"API: failed to store measurements, most likely DB cast errors or duplicate records"
);
return {
success: false,
Expand Down

0 comments on commit 5d2d919

Please sign in to comment.