fix: Handle errors without response (#4274)
This commit is contained in:
parent
bbdcfd6baf
commit
015269914e
2 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ export function refreshTimelineFail(timeline, error, skipLoading) {
|
|||
timeline,
|
||||
error,
|
||||
skipLoading,
|
||||
skipAlert: error.response.status === 404,
|
||||
skipAlert: error.response && error.response.status === 404,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue