Skip to content

Commit 3980a76

Browse files
authored
Update README.md
Fixed a few issues with the examples.
1 parent f71b833 commit 3980a76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def main(argv=None):
8686
```
8787

8888

89-
### Sending an error(or non-error) quickly without using the logger
89+
### Option 3: Sending an error(or non-error) quickly without using the logger
9090
You can quickly send a simple event with partial custom data from the log function of the `TrakerrClient`. Add these imports:
9191

9292
```python
@@ -131,8 +131,9 @@ def main(argv=None):
131131
#without a stacktrace, in case you do don't have a stacktrace or you're not sending a crash.
132132

133133
#Populate any field with your own data, or send your own custom data
134-
appevent.context_app_os = "Windows 8"
135-
appevent.custom_properties = CustomData("Custom Data holder!")
134+
appevent.context_app_browser = "Chrome"
135+
appevent.context_app_browser_version = "57.0.2987.133"
136+
appevent.custom_properties = CustomData()
136137

137138
#Can support multiple string data
138139
appevent.custom_properties.string_data = CustomStringData("Custom String Data 1", "Custom String Data 2")

0 commit comments

Comments
 (0)