Skip to content

Commit

Permalink
chore: address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MoumitaM committed Jul 19, 2024
1 parent e2e94f3 commit a1bdc87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class ErrorHandler implements IErrorHandler {
* @param {Error} error Error instance from handled error
*/
notifyError(error: SDKError, errorState: ErrorState) {
if (this.pluginEngine && isAllowedToBeNotified(error)) {
if (this.pluginEngine && this.httpClient && isAllowedToBeNotified(error)) {
try {
this.pluginEngine.invokeSingle(
'errorReporting.notify',
Expand Down

0 comments on commit a1bdc87

Please sign in to comment.