Actyx icon indicating copy to clipboard operation
Actyx copied to clipboard

{20} Review event emission error reporting in SDK

Open benjamin-actyx opened this issue 4 years ago • 3 comments

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.)

benjamin-actyx avatar Jun 14 '21 15:06 benjamin-actyx

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.

rkuhn avatar Jun 14 '21 16:06 rkuhn

@Kelerchian The infrastructure is already there, right?

rkuhn avatar Oct 09 '23 10:10 rkuhn

We can have global error hook, yes

Kelerchian avatar Oct 09 '23 10:10 Kelerchian