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
import{onCall}from"firebase-functions/v2/https";exportconstcheckoutAddPaymentMethodPayPal=onCall(async(request)=>{console.log("This should have a trace, but it does not.");});
[REQUIRED] Steps to reproduce
Deploy above code
Check cloud function logs
Try to view the logs from "same trace"
[REQUIRED] Expected behavior
Should have a trace.
[REQUIRED] Actual behavior
Doesn't, "same trace" is greyed out.
Were you able to successfully deploy your functions?
Related issues
[REQUIRED] Version info
node: v16.19.0
firebase-functions: v4.5.0
firebase-tools: v12.7.0
firebase-admin: v11.11.0
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Should have a trace.
[REQUIRED] Actual behavior
Doesn't, "same trace" is greyed out.
Were you able to successfully deploy your functions?
Yes, deployment works.
Related:
Reason for this is most likely, that unlike the
onRequest
function, theonCall
handler isn't wrapped inwrapTraceContext()
.The text was updated successfully, but these errors were encountered: