Closed amiller closed 1 month ago
i thought missing data field is in nft event subscribe, but it could be this line... an uncaught error here would indeed crash the pubsub thread https://github.com/Account-Link/teleport-gramine-rs/blob/591a6c16c5801e3679addc532c5ee0351f41c8c2/src/twitter.rs#L110
[2024-09-13T12:21:14Z INFO teleport::oai] gpt-4o response: "safe"
thread 'tokio-runtime-worker' panicked at src/twitter.rs:111:6:
Failed to parse SendTweetResponse: "{\"detail\":\"You are not permitted to perform this action.\",\"type\":\"about:blank\",\"title\":\"Forbidden\",\"status\":
403}": Error("missing field data
", line: 1, column: 112)
Fixed in #17
If the subscribe loop crashes, then it reaches a zombie state.
NFTs can be minted by the backend, but they fail to be promoted from “pending” to ready. Then they can’t be spent at all even if the backend restarts.
The subscribe loop failing seems to happen occasionally when a tweet response fails to decode.
Example log message: