Skip to content

Commit c6532d0

Browse files
j-flatbusunkim96
authored andcommitted
fixed mistake in documentation (googleapis#8271)
1 parent 61fdbb1 commit c6532d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

error_reporting/docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ line number of the location where the error was reported.
9797
from google.cloud import error_reporting
9898
9999
client = error_reporting.Client()
100-
error_reporting.report("Found an error!")
100+
client.report("Found an error!")
101101
102102
As with reporting an exception, the user and HTTP context can be provided:
103103

@@ -111,5 +111,5 @@ As with reporting an exception, the user and HTTP context can be provided:
111111
method='GET', url='/', user_agent='test agent',
112112
referrer='example.com', response_status_code=500,
113113
remote_ip='1.2.3.4')
114-
error_reporting.report(
114+
client.report(
115115
"Found an error!", http_context=http_context, user=user))

0 commit comments

Comments
 (0)