fix error handle
Main daploy / deploy (push) Successful in 37s

This commit is contained in:
2024-11-19 00:18:24 +02:00
parent 1a11efe25d
commit cd33c37969
2 changed files with 6 additions and 7 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ onMounted(async () => {
try {
const qrCodeDoc = await getQrCodeDocument(qr_code_uri)
presetMessages.value = qrCodeDoc!.predefinedMessage || []
} catch {
} catch (err) {
console.error(err)
error.value = 'Ошибка загрузки данных QR‑кода'
}
})