Skip to content

Commit

Permalink
Error generating styles
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jun 10, 2024
1 parent 898747d commit 3b19acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/tailwind/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ const safe = (cb: () => Promise<Response>) => async () => {
return new Response(null, { status: 404 });
}

return new Response(Deno.inspect(error, { colors: false, depth: 100 }), {
const errStack = Deno.inspect(error, { colors: false, depth: 100 });
console.error(`error generating styles`, errStack);
return new Response(errStack, {
status: 500,
});
}
Expand Down

0 comments on commit 3b19acf

Please sign in to comment.