Skip to content

Commit bf825dc

Browse files
committed
chore: mention that example should fail
1 parent 998f0ed commit bf825dc

File tree

1 file changed

+4
-1
lines changed
  • examples/agent/arbitrary_keys

1 file changed

+4
-1
lines changed

examples/agent/arbitrary_keys/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Use of this source code is governed by a MIT license that can be found in the LICENSE file.
33
# SPDX-License-Identifier: MIT
44

5+
# This example should fail, due to the arbitrary key being included in the settings payload.
6+
57
# Import dependencies and set up the main function
68
import requests
79
import wave
@@ -91,7 +93,8 @@ def on_error(self, error, **kwargs):
9193

9294
# Cleanup
9395
connection.finish()
94-
print("Finished")
96+
print("Finished! You should see an error for the arbitrary key - scroll up and you can see it is included in the settings payload.")
97+
print("If you do not see that error, this example has failed.")
9598

9699
except Exception as e:
97100
print(f"Error: {str(e)}")

0 commit comments

Comments
 (0)