File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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
9090You 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" )
You can’t perform that action at this time.
0 commit comments