6.14.1: Фикс nginx маршрута /priorities/confirm на проде
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 36s

This commit is contained in:
poignatov
2026-03-12 17:23:34 +03:00
parent 4971b2a305
commit c42cdfe35b
2 changed files with 3 additions and 2 deletions

View File

@@ -623,7 +623,8 @@ function ProjectPriorityManager({ allProjectsData, currentWeekData, shouldLoad,
body: JSON.stringify(changes),
})
if (!response.ok) {
throw new Error('Ошибка сохранения')
const errText = await response.text().catch(() => '')
throw new Error(`Ошибка сохранения (${response.status})${errText ? ': ' + errText : ''}`)
}
if (onConfirmed) onConfirmed()
} catch (e) {