Closed dmac closed 11 months ago
This would be a great usability win.
Happy to consider pull requests.
Bump. The pull request is in!
IMO this a fairly important bug: a library should not swallow exceptions (even ArityExceptions for function calls) silently!
Bump.
Bump +1
AIUI any exception on a background thread will cause the thread to die silently - this isn't specific to at-at. There's an approach you can use here: https://stuartsierra.com/2015/05/27/clojure-uncaught-exceptions
@mjg123 I tried using the uncaught exception handler from that article but still no errors are getting through. Do you have an example of using it with at-at?
At the moment, if a scheduled function throws an exception it fails silently.
This can be confusing and make it appear that the function isn't running.
Ideally I'd like to see output like this:
Another option would be to fail fast by re-raising the exception and crashing the program, which would at least indicate that the user needs to handle an error case.