diff --git a/adapters/qq/src/internal/internal.ts b/adapters/qq/src/internal/internal.ts index 365b3073..ead30284 100644 --- a/adapters/qq/src/internal/internal.ts +++ b/adapters/qq/src/internal/internal.ts @@ -34,9 +34,8 @@ export class Internal { this.bot.logger.debug(`${method} ${url} response: %o, trace id: %s`, response.data, response.headers.get('x-tps-trace-id')) return response.data } catch (error) { - this.bot.logger.warn(`${method} ${url} request: %o`, config) if (!http.isError(error) || !error.response) throw error - this.bot.logger.warn(`${method} ${url} response: %o, trace id: %s`, error.response.data, error.response.headers.get('x-tps-trace-id')) + this.bot.logger.debug(`${method} ${url} response: %o, trace id: %s`, error.response.data, error.response.headers.get('x-tps-trace-id')) throw error } } diff --git a/adapters/qq/src/ws.ts b/adapters/qq/src/ws.ts index 58370920..3142ba5a 100644 --- a/adapters/qq/src/ws.ts +++ b/adapters/qq/src/ws.ts @@ -10,10 +10,17 @@ export class WsClient extends Adapter.WsClient