Skip to content

Commit 4f85c4d

Browse files
Updated Readme
1 parent 52aeb65 commit 4f85c4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ The default initialization settings are production-ready and queue messages to b
2020

2121
In development you might want to enable some settings to make it easier to spot problems. Enabling `track.debug` will log debugging info to the Python logger. You can also add an `on_error` handler to specifically print out the response you’re seeing from our API.
2222
```
23-
def on_error(error, items):
24-
print("An error occurred:", error)
23+
def on_error(error, queue_msg):
24+
print("An error occurred", error)
25+
print("Queue message", queue_msg)
2526
2627
track.debug = True
2728
track.on_error = on_error

0 commit comments

Comments
 (0)