GGT_APP_CRASH but I can't understand why
Hey! My "getsimio" app has this error in production - really often - but I've never managed to identify the reason.
TraceId: 838da5cb8e2a9e3761bc46d88f8d70c0
2 Replies
Hi Thibaut,
I will investigate.
I've looked into it and I see that in
/actions/updateMessageStatus
you have transactional
set to true, the action takes too long and times-out.
Im not sure why its resulting in a crash, but that is a culprit.
I also see in utils/executeNode.js
there are many api calls without await
which is likely throwing and causing uncaught promise rejection, and crashing.
As well anywhere you dont need the action code you can use internal api calls. You can use the internal API by running api.internal.someModel.<action name>
Thank you Mark for you answer, it helps us a lot.
The only thing I cannot change is the "await" missing in executeNode, because if I add them, all delays are verryyy long