RolandJansen / intermix

Typescript/Javascript framework for building sequencer-based audio apps
GNU Lesser General Public License v3.0
6 stars 0 forks source link

Add structured error handling #132

Closed RolandJansen closed 4 years ago

RolandJansen commented 4 years ago

There are some try/catch blocks with an empty catch block (which is really dangerous). Add some kind of redux error action that collects error objects in the store (or sth).

RolandJansen commented 4 years ago

Some of this try/catch stuff is redundant and is removed already. However, proper error handling is important and there should be a strategy for system wide error handling.

RolandJansen commented 4 years ago

Removed the try/catch stuff. It's not needed in a synchronous system. Functions that did throw now return undefined or another value that can be handled by the application.