You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't the first block in the if-statement also be able to return a promise? I encountered this issue because I had set the autoProfiling to false, but am working with async/await. I get an error at the end of my Lambda that the callback is not a function. This is to be expected, as I didn't provide one.
I can supply a PR, but wanted to check if this was a deliberate decision.
The text was updated successfully, but these errors were encountered:
In the
agent.js
file, I see this piece of code:Shouldn't the first block in the if-statement also be able to return a promise? I encountered this issue because I had set the autoProfiling to false, but am working with async/await. I get an error at the end of my Lambda that the callback is not a function. This is to be expected, as I didn't provide one.
I can supply a PR, but wanted to check if this was a deliberate decision.
The text was updated successfully, but these errors were encountered: