Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
fix: log exception
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude authored Jun 2, 2022
1 parent 84a1619 commit 0e203da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/statistics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ const axios = require("axios").default;
event: type,
};
try {
console.log(body);
await axios.post(apiURL, body, {
headers: { ...authHeader },
});
} catch (e) {}
} catch (e) {
console.log(e)
}
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 0e203da

Please sign in to comment.