Commit 13330a7
committed
debug(og): surface render error message in 500 response
Temporary diagnostic — without Netlify function log access we can't see
why takumi still fails on the deploy preview after the
external_node_modules fix. Bake the error name/message/stack/cause into
the 500 body so a `curl` against /api/og/<lib>.png shows the underlying
failure (likely the napi binding load, but want to confirm before
iterating). To be reverted once the binding loads cleanly.1 parent fe3da62 commit 13330a7
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
50 | 67 | | |
51 | 68 | | |
52 | 69 | | |
| |||
0 commit comments