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{logger}from"firebase-functions/v2";import{onCall}from"firebase-functions/v2/https";exportconstfunctionName=onCall({region: ["europe-west1"]},async(req)=>{logger.error("User is not allowed to upload data for this userId",["234","123"]);})
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Error stacktrace should not be printed in plain text if not provided
[REQUIRED] Actual behavior
Code sample above results with following outcome in GCP Logging:
Were you able to successfully deploy your functions?
Yes
The text was updated successfully, but these errors were encountered:
Related issues
Somewhat related to:
[REQUIRED] Version info
node: 20
firebase-functions: 6.2.0
firebase-tools: 13.30.0
firebase-admin: 12.6.0
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Error stacktrace should not be printed in plain text if not provided
[REQUIRED] Actual behavior
Code sample above results with following outcome in GCP Logging:
Were you able to successfully deploy your functions?
Yes
The text was updated successfully, but these errors were encountered: