But neither my logs nor my errors are being picked up by the action. Am I doing this incorrectly? This same code works in my local IDE and is able to print out the message. I am using the testing feature the action editor has.
I’m still curious why this code works in my IDE but not when deployed.
Callbacks don’t play well with actions. Note that the action function exits before the promise functions have time to execute in your original code. Using await you signal that the action needs to wait for the promises to finish.