MCPcopy Create free account
hub / github.com/Codeplain-ai/codeplain / crash_with_headers_local

Function crash_with_headers_local

tests/test_telemetry.py:155–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 secret = "".join(["super", "-secret-", "key"])
154
155 def crash_with_headers_local():
156 headers = {"X-API-Key": secret, "Content-Type": "application/json"} # noqa: F841
157 raise KeyError("boom")
158
159 try:
160 crash_with_headers_local()

Calls

no outgoing calls

Tested by

no test coverage detected