Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abd191b

Browse filesBrowse files
authored
Put in new region code error_reporting_quickstart (GoogleCloudPlatform#1842)
1 parent 50a6f72 commit abd191b
Copy full SHA for abd191b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎error_reporting/api/report_exception.py

Copy file name to clipboardExpand all lines: error_reporting/api/report_exception.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
# [START error_reporting]
17+
# [START error_reporting_quickstart]
1718
def simulate_error():
1819
from google.cloud import error_reporting
1920

@@ -23,6 +24,7 @@ def simulate_error():
2324
raise NameError
2425
except Exception:
2526
client.report_exception()
27+
# [END error_reporting_quickstart]
2628
# [END error_reporting]
2729

2830

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.