firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.46k stars 1.43k forks source link

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

Open jesus-mg-ios opened 3 weeks ago

jesus-mg-ios commented 3 weeks ago

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

google-oss-bot commented 3 weeks ago

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

paulb777 commented 3 weeks ago

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