Update WorkerService.ts to handle the new exceptions and return the correct instance (eg NotFoundException for 404) - right now it will turn all exceptions into 500's
Could make a upgrade path where httpXXX are converted into the applicable exception, then returned from the worker as such.
It's likely this will cause non backwards-compat changes, so maybe let the dust settle from the other stuff first or do a bit of research into making it work for everyone.
Update
WorkerService.tsto handle the new exceptions and return the correct instance (eg NotFoundException for 404) - right now it will turn all exceptions into 500'sCould make a upgrade path where httpXXX are converted into the applicable exception, then returned from the worker as such.
It's likely this will cause non backwards-compat changes, so maybe let the dust settle from the other stuff first or do a bit of research into making it work for everyone.