Skip to content

Commit

Permalink
chore: missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Sep 25, 2024
1 parent 40b8fe6 commit c650c22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions event-manager/src/event.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export function getLogLevelByStatus(statusCode: number) {
return loggerLevel;
}

/**
* Check if the event will trigger an error log
*/
export function isErrorEvent(options: IErrorEventOptions) {
if (!options.errorClass) {
return false;
Expand Down

0 comments on commit c650c22

Please sign in to comment.