robinsedlaczek / ForceFeedbackProgramming

18 stars 6 forks source link

Logging errors in core #90

Open ralfw opened 5 years ago

ralfw commented 5 years ago

All calls to the ForceFeedbackMachine are now wrapped so that any exceptions will be caught and logged to a global error log (in the user's root folder): .forcefeedbackprogramming.log

The logger Log{} is public an can be used by the frontend too.

If an exception is thrown during creation of feedback only a red background color is returned as visual feedback in addition to writing a log entry.