SHA256
Добавлен временный debug API для автотеста WebRTC и runbook
This commit is contained in:
@@ -1409,6 +1409,16 @@ export class AuthService {
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
|
||||
async reportClientDebug({ runId = '', level = 'info', message = '', details = '' } = {}) {
|
||||
try {
|
||||
const response = await this.ws.request('ClientDebugLog', { runId, level, message, details }, 3000);
|
||||
return response?.status === 200;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
async reportClientError(details) {
|
||||
try {
|
||||
const response = await this.ws.request('ClientErrorLog', details || {}, 3000);
|
||||
|
||||
Reference in New Issue
Block a user