fix of handling error

This commit is contained in:
Martin Quarda 2024-10-08 09:34:03 +02:00
parent 07c77fef48
commit dab020e0d5

View File

@ -100,7 +100,7 @@ class Main extends Component {
}).catch((error) => {
this.setState({
progress: false,
text: "Chyba: " + error.status +", " + error.statusText,
text: "Chyba: " + error.response.status +", " + error.response.data,
status: "failed",
})
});