Skip to content

Commit 80a8f25

Browse files
committed
catch err
1 parent 20cd8f5 commit 80a8f25

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/routes/(console)/project-[region]-[project]/sites/site-[site]/deployments/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
specification: data.site?.specification || undefined
8282
});
8383
invalidate(Dependencies.SITE);
84-
} catch {
85-
return;
84+
} catch (error) {
85+
throw error;
8686
}
8787
}
8888
</script>

src/routes/(console)/project-[region]-[project]/sites/site-[site]/settings/updateRepository.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157
});
158158
159159
invalidate(Dependencies.SITE);
160-
} catch {
161-
return;
160+
} catch (error) {
161+
throw error;
162162
}
163163
}
164164

0 commit comments

Comments
 (0)