{20} Review event emission error reporting in SDK
This was requested by some customer via @Alexander89 and @wwerner
Currently you have to await every single emission and even call toPromise() first to actually be able to do so.
One idea would be to add a global error report hook for emission errors. (Especially useful versus 'disk full' condition.)
This would be a fatal error for run jobs in that they’d stall until the app is restarted, right? This smells like a case for third party supervision, i.e. the caller of the function can’t meaningfully handle failures, they need to be handled by someone else. The proposed global hook might be appropriate for that.
@Kelerchian The infrastructure is already there, right?
We can have global error hook, yes