[bugy & CR]

This commit is contained in:
romankko2 committed 2023-08-17 17:43:23 +02:00
1 parent 4f7847bc1b
commit 88792943e6
20 files changed
+201 -107

No files matched your search

+6 -4
View File
@@ -81,11 +81,13 @@ export class I18n {
(response) => {
return response
},
// fixnut aby logger nezaznamenaval chybu ak padne requet kvoli loggeru
(error) => {
axios.post('https://logger.wezeo.dev/cms/api/data/new', {
data: JSON.stringify(error)
})
if(error.response) {
axios.post('https://logger.wezeo.dev/cms/api/data/new', {
data: JSON.stringify(error)
})
}
return Promise.reject(error)
}
)