From 8c5b27c796c7a12e4cfe75cadcfee5b7c21eeb74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladan=20Tomi=C4=87?= Date: Fri, 20 Oct 2023 15:17:29 +0200 Subject: [PATCH] fix: error handling (#551) --- src/pages/drive/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/drive/index.tsx b/src/pages/drive/index.tsx index 9acaf389..f6665c86 100644 --- a/src/pages/drive/index.tsx +++ b/src/pages/drive/index.tsx @@ -148,7 +148,7 @@ const Drive: FC = () => { await handleFetchPods(); } } else { - setError(errorToString(error)); + setError(errorToString(e)); } } finally { setLoading(false);