6.14.1: Фикс nginx маршрута /priorities/confirm на проде
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 36s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 36s
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user