Skip to Content
0
Jul 08, 2022 at 01:46 PM

Service instance crash due to application unexpected errors

442 Views

Hi Expert,

I created an application with SAP CAP(Cloud Application Programing) in the SAP BTP Cloud Foundry environment. When the invalid parameters are passed to API, the application will generate a run-time error, which causes the service instance to crash. I can update the application to capture the errors that happened. But is there any way to prevent the instance crash even if the app has a run-time error? This is a multi-tenant app, one consumer's incorrect operation should not impact other consumers. Any thoughts or suggestions are greatly appreciated!

Nodejs version: 14.17.6

CDS version: 5.4.5

sidecar-srv-error-log-2022-07-07-21-02-182070000.txt

service-instance-crash.png