Why an error again…?
This commit is contained in:
@@ -68,6 +68,6 @@ export const load: PageServerLoad = async () => {
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
throw error(500, err)
|
||||
throw error(500, err.message)
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,6 @@ export const load: PageServerLoad = async ({}) => {
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
throw error(500, err)
|
||||
throw error(500, err.message)
|
||||
}
|
||||
}
|
||||
@@ -48,6 +48,6 @@ export const load: PageServerLoad = async ({ params }) => {
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
throw error(404, err)
|
||||
throw error(404)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user