Skip to content

Commit c4937ac

Browse files
committed
fixup
1 parent dd5dc9b commit c4937ac

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

caddy/caddy.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,7 @@ func (f *FrankenPHPModule) ServeHTTP(w http.ResponseWriter, r *http.Request, _ c
480480
return caddyhttp.Error(http.StatusInternalServerError, err)
481481
}
482482

483-
fr, err := frankenphp.NewRequestWithExistingContext(r, fc)
484-
if err != nil {
485-
return caddyhttp.Error(http.StatusInternalServerError, err)
486-
}
483+
fr := frankenphp.NewRequestWithExistingContext(r, fc)
487484

488485
if err = frankenphp.ServeHTTP(w, fr); err != nil {
489486
return caddyhttp.Error(http.StatusInternalServerError, err)

0 commit comments

Comments
 (0)