Skip to content

Commit

Permalink
handle message instead of throwing
Browse files Browse the repository at this point in the history
  • Loading branch information
ascibisz committed Dec 5, 2023
1 parent d114550 commit b24e4a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/simularium/RemoteSimulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,9 @@ export class RemoteSimulator implements ISimulator {
);
})
.catch((e) => {
throw new FrontEndError(e.message, ErrorLevel.ERROR);
this.handleError(
new FrontEndError(e.message, ErrorLevel.WARNING)
);
});
}
}

0 comments on commit b24e4a6

Please sign in to comment.