JoyOfHardware / FastWave2.0

GNU General Public License v3.0
0 stars 0 forks source link

Propagate Backend Application Errors to Frontend #12

Open ThePerfectComputer opened 3 months ago

ThePerfectComputer commented 3 months ago

Currently, loading an invalid waveform results in a panic in Tokyo worker that gets printed to stdout from the backend. The frontend should make this error visible.

image

ThePerfectComputer commented 2 months ago

Same sort of issue if there is a failure to find decoder in the backend:

https://github.com/JoyOfHardware/FastWave2.0/blob/6cfcdc6d0ba7415bdb52297ea7be1ec7ef56be88/src-tauri/src/component_manager.rs#L93