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

Function crash_with_nested_secret

tests/test_telemetry.py:180–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 secret = "".join(["nested", "-secret-", "key"])
179
180 def crash_with_nested_secret():
181 request_info = {"url": "https://api.codeplain.ai", "x-api-key": secret} # noqa: F841
182 raise KeyError("boom")
183
184 try:
185 crash_with_nested_secret()

Calls

no outgoing calls

Tested by

no test coverage detected