(source)
| 55 | } |
| 56 | |
| 57 | async _handleAuthError(source) { |
| 58 | this.logger.error(`[sync] auth error from ${source}, triggering re-authentication`); |
| 59 | if (typeof this.onAuthError === 'function') { |
| 60 | try { await this.onAuthError(); } catch (e) { |
| 61 | this.logger.error(`[sync] onAuthError callback failed: ${e.message}`); |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | _scheduleOutbound(delayMs) { |
| 67 | if (!this._running) return; |
no outgoing calls
no test coverage detected