This commit is contained in:
idranme
2024-08-28 17:13:26 +08:00
parent 8564630c4d
commit 183eab2cf4
3 changed files with 5 additions and 8 deletions

View File

@@ -153,8 +153,8 @@ export function invoke<ReturnType>(params: InvokeParams<ReturnType>) {
afterFirstCmd && secondCallback()
}
else {
log('ntqq api call failed', result)
reject(`ntqq api call failed, ${result.errMsg}`)
log('ntqq api call failed,', params.methodName, result)
reject(`ntqq api call failed, ${params.methodName}, ${result.errMsg}`)
}
}
}