Skip to content

Commit

Permalink
Fixed: removed the "status" flag requirements for displaying error me…
Browse files Browse the repository at this point in the history
…ssages from the catch block
  • Loading branch information
shilob committed Nov 11, 2024
1 parent 1a62078 commit 6621458
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions angular-legacy/dmp/app/dmp-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ export class DmpFormComponent extends LoadableComponent {
}).catch((err:any) => {
console.log("Error loading form...");
console.log(err);
if (err.status == false) {
this.criticalError = err.message;
}
this.criticalError = err.message;
this.setLoading(false);
});
});
Expand Down

0 comments on commit 6621458

Please sign in to comment.