Dagger.jl
Dagger.jl copied to clipboard
Provide better stacktraces in eager submission
While debugging #258, I found myself wanting to get a full stacktrace back to the task invoking Dagger.spawn when the eager listener fails to add a thunk. On error, we could pass the listener's stacktrace to the calling task and let it throw the full error for us. This would make it easier to locate bugs in user logic or in the listener itself.