in src/Runtime/Runtime.ts [97:108]
private _setErrorCallbacks(invokeId: string): void {
this.errorCallbacks.uncaughtException = (error: Error): void => {
this.client.postInvocationError(error, invokeId, () => {
process.exit(129);
});
};
this.errorCallbacks.unhandledRejection = (error: Error): void => {
this.client.postInvocationError(error, invokeId, () => {
process.exit(128);
});
};
}