File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -3538,7 +3538,20 @@ async def _generate_new_conduit(self) -> Conduit:
35383538 # Maybe need an additional bool; will need feedback?
35393539 if self ._initial_subs :
35403540 logger .info ("Attempting to do an initial subscription on new conduit: %r." , self ._conduit_info )
3541- await self ._multi_sub (self ._initial_subs , stop_on_error = False )
3541+ payload = await self ._multi_sub (self ._initial_subs , stop_on_error = False )
3542+
3543+ errors : int = 0
3544+ for data in payload .errors :
3545+ if data .error .status != 409 :
3546+ errors += 1
3547+
3548+ if errors :
3549+ msg = (
3550+ "An error(s) occurred during subscriptions to %r: %d/%d subscriptions failed. Check the users have"
3551+ "been properly authorized. You can safely ignore this warning if you plan to authorize and subscribe later."
3552+ )
3553+ logger .warning (msg , self ._conduit_info , errors , len (self ._initial_subs ))
3554+
35423555 self ._subbed = True
35433556
35443557 return new
You can’t perform that action at this time.
0 commit comments