Skip to content

Commit

Permalink
Implement error notification when server fails to return data
Browse files Browse the repository at this point in the history
Signed-off-by: shevijacobson <[email protected]>
  • Loading branch information
Shevijacobson committed Nov 4, 2024
1 parent 1bdf29a commit b0a806a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,12 @@ export const ApplicationsTable: React.FC = () => {

setIsDownloadModalOpen(false);
} catch (error) {
setIsDownloadModalOpen(false);
console.error("Error fetching tasks:", error);
pushNotification({
title: "download failed",
variant: "danger",
});
}
};

Expand Down

0 comments on commit b0a806a

Please sign in to comment.