googleapis / googleapis/google-cloud-python

Clean-up error handling to pass through errors instead of catching/rethrowing

Offen
#14,497 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @tswast Auf GitHub ansehen
api: bigquery priority: p2 type: cleanup
Vorherrschende Sprache
Python
Sterne
5.4k
Forks
1.8k
Ø Merge
3 T. 4 Std.
Gemergte PRs (30 T.)
122

Beschreibung

There have been [several](https://stackoverflow.com/q/55350247/101923) [StackOverflow](https://stackoverflow.com/q/35173847/101923) [questions](https://stackoverflow.com/q/55350247/101923) about `GenericGBQException`.

We should have a troubleshooting document that covers:

* Common exceptions that may occur.
* How to import them to catch them.
* Best practices for handling them.

Side note: We may want to reconsider catching Google API exceptions at all and just letting them pass through.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.