Update Deno to 2.1 LTS!
This commit is contained in:
@@ -76,7 +76,7 @@ export const handler: Handlers<Data, FreshContextState> = {
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
return await context.render({ error: error.toString(), email, formData });
|
||||
return await context.render({ error: (error as Error).toString(), email, formData });
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user