File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -168,10 +168,11 @@ def handle(ws):
168
168
commit = payload .get ('commit' )
169
169
if isinstance (commit , CID ):
170
170
commit = f'commit { commit .encode ("base32" )} '
171
- # can't DAG-JSON encode payload here, it hits
171
+ # can't DAG-JSON encode payload here? maybe? it hits
172
172
# ValueError: Failed to encode DAG-CBOR. Unknown cbor tag `0`
173
173
# https://console.cloud.google.com/errors/detail/CNzlgrvr2bHuvwE;time=PT1H;refresh=true;locations=global?project=bridgy-federated
174
- logger .debug (f'Sending to { nsid } websocket client for repo { did } seq { seq } { commit } : { header } { dag_json .encode (payload , dialect = "atproto" )[:500 ]} ' )
174
+ # eg dag_json.encode(payload, dialect="atproto")[:500]
175
+ logger .debug (f'Sending { nsid .split ("." )[- 1 ]} { seq } { did } { header .get ("t" )} ' )
175
176
176
177
# emit!
177
178
try :
You can’t perform that action at this time.
0 commit comments