TS SDK (atproto/sync): correct way to handle "deleted blob" type errors? #3044
-
I get errors like this one a lot:
I'm not concerned with deletions right now, only new posts, and I also don't do anything with blobs. This clogs my logs and makes finding any actual errors more difficult. How can I hide this particular error? Is there a type check function I can do to suppress these errors (in the firehose's onError field, I expect)? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I filtered these out in my implementation using something like this:
|
Beta Was this translation helpful? Give feedback.
-
This is actually a known issue that we're not emitting all necessary blocks for deletion proofs. We had a fix a couple weeks back but lost track of it in all the craziness. Hoping to roll this out this week and hopefully stop the errors all together 😄 |
Beta Was this translation helpful? Give feedback.
-
@bleonard252 did you manage to get firehose to work in Deno? (judging by exception traces) |
Beta Was this translation helpful? Give feedback.
-
@callmephilip It should work out of the box, but you do have to either
allow every permission it asks for individually or use `--allow-all`.
----------
Blake Leonard
https://blakes.dev
Jan 8, 2025 14:21:48 Philip Nuzhnyi ***@***.***>:
…
@bleonard252[https://github.com/bleonard252] did you manage to get
firehose to work in Deno? (judging by exception traces)
—
Reply to this email directly, view it on
GitHub[#3044 (comment)],
or
unsubscribe[https://github.com/notifications/unsubscribe-auth/ADUJCOVNTVX5FR7RMU46JTT2JV3EVAVCNFSM6AAAAABSCYKTHWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNZXG42TENA].
You are receiving this because you were mentioned.
[Tracking
image][https://github.com/notifications/beacon/ADUJCOSLU3FJTOSIWH7JXG32JV3EVA5CNFSM6AAAAABSCYKTHWWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAWO27I.gif]
|
Beta Was this translation helpful? Give feedback.
I filtered these out in my implementation using something like this: