Running into an issue where on the launch command, ON_REQUEST is called, followed by UNHANDLED, followed by ON_REQUEST again, followed by LAUNCH. Here’s a code snippet of my app.setHandler
async ON_REQUEST() {
console.log("ON_REQUEST");
...
},
async LAUNCH() {
console.log("LAUNCH");
...
},
async Unhandled() {
console.log("UNHANDLED");
...
},
In the logs I get
ON_REQUEST
UNHANDLED
ON_REQUEST
LAUNCH
I’m confused as to why UNHANDLED is being called when the LAUNCH is able to handle this and very confused as to how one request is causing ON_REQUEST to be called twice.
Any ideas?