Skip to content

Commit

Permalink
Improve error manager
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriSanchez1 committed Jul 25, 2024
1 parent 084181a commit f46aee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class CommunicatorDialogContainer extends React.Component {
const nextBoard = await API.getBoard(tile.loadBoard);
await this.createBoardsRecursively(nextBoard, records);
} catch (err) {
if (err.response.status === 404) {
if (!err.respose || err.response?.status === 404) {
//look for this board in available boards
const localBoard = availableBoards.find(
b => b.id === tile.loadBoard
Expand Down

0 comments on commit f46aee9

Please sign in to comment.