Skip to content

Commit

Permalink
Put in new region code error_reporting_quickstart [(#1842)](GoogleClo…
Browse files Browse the repository at this point in the history
  • Loading branch information
engelke authored Nov 15, 2018
1 parent fb658e9 commit 0a360ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/snippets/api/report_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


# [START error_reporting]
# [START error_reporting_quickstart]
def simulate_error():
from google.cloud import error_reporting

Expand All @@ -23,6 +24,7 @@ def simulate_error():
raise NameError
except Exception:
client.report_exception()
# [END error_reporting_quickstart]
# [END error_reporting]


Expand Down

0 comments on commit 0a360ec

Please sign in to comment.