Upgraded dependencies, bumped to Node 24.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { render } from 'vike/abort'; /* eslint-disable-line import/extensions */
|
||||
import { render } from 'vike/abort';
|
||||
|
||||
import { fetchStashByUsernameAndSlug } from '#/src/stashes.js';
|
||||
import { fetchActors } from '#/src/actors.js';
|
||||
import { curateActorsQuery } from '#/src/web/actors.js';
|
||||
import { HttpError } from '#/src/errors.js';
|
||||
import { fetchStashByUsernameAndSlug } from '#/src/stashes.js';
|
||||
import { curateActorsQuery } from '#/src/web/actors.js';
|
||||
|
||||
export async function onBeforeRender(pageContext) {
|
||||
try {
|
||||
@@ -39,7 +39,8 @@ export async function onBeforeRender(pageContext) {
|
||||
},
|
||||
},
|
||||
};
|
||||
} catch (error) {
|
||||
}
|
||||
catch (error) {
|
||||
if (error instanceof HttpError) {
|
||||
throw render(error.httpCode, error.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user