Commit cc5f9ad
Add error logging to ServeFile for debugging
Log the actual os.Open error before returning fiber.ErrNotFound,
and expose it in X-Debug-ServeFile-Error header when debugging.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 5574776 commit cc5f9ad
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
248 | 252 | | |
249 | 253 | | |
250 | 254 | | |
| |||
0 commit comments