diff --git a/service/files_service.go b/service/files_service.go index 2c70890..a0ed4be 100644 --- a/service/files_service.go +++ b/service/files_service.go @@ -155,7 +155,9 @@ func (f *FilesService) GetDownload() { ctx.Header("Transfer-Encoding", "chunked") - internalError(ctx, err) + if internalError(ctx, err) { + return + } err = ctx.StreamWriter(func(w io.Writer) error { _, err = io.Copy(w, fetch.RawBody())