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

Sign up
Appearance settings

Commit 3184ed2

Browse files
chore: Update upgrade guide
1 parent 0c75dce commit 3184ed2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎UPGRADING.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,13 @@ It remains possible to supply initial metadata in configuration:
237237
})
238238
```
239239

240+
Previously, it was possible to add "top-level" metadata, i.e. data that you did not provide a specific `section` name for. In the dashboard, this would display under a tab with the heading "Custom". Since a section name is now required, for continuity both visually and for any custom filters you may have set up based on such data, you should set the section name to `'custom'`:
241+
242+
```diff
243+
- bugsnagClient.metaData = { processId: 'aa874cbd', role: 'image-resizer' }
244+
+ Bugsnag.addMetadata('custom', { processId: 'aa874cbd', role: 'image-resizer' })
245+
```
246+
240247
#### Context
241248

242249
On the client, context is now managed via `get/setContext()`:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /