So I'm trying to serialize an object
raise ObjectNotFound(
f"target object not found: source_object={source_object.json()}"
)
The object has a key that is streamed (Body.read()). So i get this error
"Object of type 'StreamingBody' is not JSON serializable"
How do I serialize my object while excluding the key Body