You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,13 @@ Here's an introductory video:
17
17
18
18
1. You need a [Google Cloud project](https://console.cloud.google.com).
19
19
1.[Enable the Stackdriver Error Reporting API](https://console.cloud.google.com/apis/api/clouderrorreporting.googleapis.com/overview) for your project. We highly recommend to restrict the usage of the key to your website URL only using an 'HTTP referrer' restriction.
20
+
1. Create an browser API key: Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project.
20
21
21
22
## Quickstart
22
23
23
-
1.**Create an API key:**
24
+
**Load and initialize the experimental library**
24
25
25
-
Follow [these instructions](https://support.google.com/cloud/answer/6158862) to get an API key for your project.
26
-
27
-
1.**Load and initialize the experimental library**
28
-
29
-
Add this line in your HTML code, before `</head>` and replace `<my-api-key>` and `<my-project-id>` with your API key and Google Cloud project ID string:
26
+
Add this line in your HTML code, before `</head>` and replace `<my-api-key>` and `<my-project-id>` with your API key and Google Cloud project ID string:
30
27
31
28
```HTML
32
29
<!-- Warning: This is an experimental library, do not use it on production environments -->
@@ -39,8 +36,6 @@ errorHandler.start({
39
36
});
40
37
</script>
41
38
```
42
-
43
-
44
39
And that's all you need to do! Unhandled exceptions will now automatically be reported to your project.
0 commit comments