Skip to content

Commit

Permalink
chore(ya-vigil-reporter): clean
Browse files Browse the repository at this point in the history
  • Loading branch information
aegenet committed Jul 27, 2023
1 parent 22edf8a commit 6272109
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ya-vigil-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,11 @@ export class YaVigilReporter implements IYaVigilReporter {
error: undefined,
};
} catch (error) {
console.dir(error);
if (timeoutToken) {
clearTimeout(timeoutToken);
}
this._options.logger?.error('ya-vigil-reporter.flush', error);
if (args?.reThrow) {
console.log('reThrow');
throw error;
} else {
return {
Expand Down

0 comments on commit 6272109

Please sign in to comment.