Skip to content

Commit

Permalink
Report errors while loading datamap
Browse files Browse the repository at this point in the history
When we had an exception reading the THOR-Soar project file, the project
silently failed to load. Surround the method in a `try/catch` and report the
exception message to the user. This still isn't ideal, because we are setting
the status bar error but it immediately gets overridden by another regular
message. Fixing this would require more work; at least we now have *some*
indication that there was an error while loading, and the rest of the project
can load; I assume that's okay, given the method always returned a success flag.
A part of me is afraid that actually V-S will mess up the project somehow if we
continue without the datamap being properly loaded.
  • Loading branch information
garfieldnate committed Aug 21, 2024
1 parent 81ffc29 commit 8cd49f6
Showing 1 changed file with 681 additions and 641 deletions.
Loading

0 comments on commit 8cd49f6

Please sign in to comment.