Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
✨ Log elasticsearch error
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Mar 21, 2020
1 parent dad423c commit 18a03b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@staart/api",
"version": "1.3.150",
"version": "1.3.151",
"main": "index.js",
"repository": "[email protected]:staart/api.git",
"author": "Anand Chowdhary <[email protected]>",
Expand Down Expand Up @@ -91,5 +91,5 @@
"setup"
],
"snyk": true,
"staart-version": "1.3.150"
"staart-version": "1.3.151"
}
4 changes: 2 additions & 2 deletions src/crons/minute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const storeSecurityEvents = async () => {
body
});
} catch (err) {
error("Got error in saving to ElasticSearch", err);
error("Got error in saving to ElasticSearch", JSON.stringify(err));
}
}
clearSecurityEventsData();
Expand Down Expand Up @@ -88,7 +88,7 @@ const storeTrackingLogs = async () => {
body
});
} catch (err) {
error("Got error in saving to ElasticSearch", err);
error("Got error in saving to ElasticSearch", JSON.stringify(err));
}
}
clearTrackingData();
Expand Down

0 comments on commit 18a03b6

Please sign in to comment.