Skip to content

Commit 4cc1bc8

Browse files
committed
fix: use showError
1 parent be60996 commit 4cc1bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/package/[[org]]/[name].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ watch(
219219
[resolvedStatus, resolvedVersion],
220220
([status, version]) => {
221221
if (version === null && status === 'success') {
222-
throw createError({
222+
showError({
223223
statusCode: 404,
224224
statusMessage: $t('package.not_found'),
225225
message: $t('package.not_found_message'),

0 commit comments

Comments
 (0)