firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

[FR]: Add info about endpoint, region and cloud function when an error happens

Open jesus-mg-ios opened this issue 1 year ago • 2 comments

Description

I noticed that when an error happens like for example a not found in a callable function, the region, endpoint and host are not included inside the nserror dictionary.

API Proposal

Added to it, and also make open to read the region property inside functions instance

Firebase Product(s)

Functions

jesus-mg-ios avatar Jun 12 '24 10:06 jesus-mg-ios

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jun 12 '24 10:06 google-oss-bot

Thanks for the FR. It's not on our near-term roadmap, but we're happy to review a PR.

paulb777 avatar Jun 15 '24 16:06 paulb777

@paulb777, I'd be happy to take on this issue. Is there a deadline, or has it been resolved already?

ns-vasilev avatar Feb 22 '25 11:02 ns-vasilev

Thanks, @ns-vasilev! This will roll out in Firebase 10.10.0. The information will be available in the user info dict under url and region keys.

ncooke3 avatar Mar 12 '25 18:03 ncooke3