Skip to content

Commit

Permalink
Removed exceptions thrown by promise handlers.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettwilliam committed Apr 8, 2024
1 parent b5a1fe2 commit 55cd5e9
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions platform/src/EducationPlatformApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,6 @@ class EducationPlatformApp {
}
}).catch( (err) => {
this.errorHandler.notify("There was an error translating action function parameter types.", err);

if (!(err instanceof EducationPlatformError)) {
throw err;
}
});

}
Expand Down Expand Up @@ -719,11 +715,6 @@ class EducationPlatformApp {

}).catch( (err) => {
this.errorHandler.notify("An error occurred while trying to save the panel contents.", err);

if (!(err instanceof EducationPlatformError)) {
throw err;
}
this.errorHandler.notify();
});
}

Expand Down

0 comments on commit 55cd5e9

Please sign in to comment.