Open audionerd opened 5 years ago
need a system to consistently report errors to end users
could log everything to a log file for easier troubleshooting with users
https://github.com/megahertz/electron-log
could set it up to log uncaught errors log.catchErrors(options = {});
log.catchErrors(options = {});
also, for catching more errors we should look at react error boundaries: https://www.reactjs.org/docs/error-boundaries.htm
Added logging to a few of the most critical files. Will add more as time allows.
need a system to consistently report errors to end users
could log everything to a log file for easier troubleshooting with users
https://github.com/megahertz/electron-log
could set it up to log uncaught errors
log.catchErrors(options = {});
also, for catching more errors we should look at react error boundaries: https://www.reactjs.org/docs/error-boundaries.htm