Skip to content

Commit

Permalink
Put in new region code error_reporting_quickstart (#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
engelke authored Nov 15, 2018
1 parent 50a6f72 commit abd191b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions error_reporting/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 abd191b

Please sign in to comment.