v72: alert при ошибке транскрипции для отладки
This commit is contained in:
@@ -22,6 +22,7 @@ async function transcribe(blob) {
|
||||
return data.error ? { text: '', error: data.error } : { text: data.text || '', error: null };
|
||||
} catch(e) {
|
||||
console.log('[HTTP] ERR', e);
|
||||
alert('Ошибка транскрипции: ' + (e.message || e));
|
||||
return { text: '', error: 'network' };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user