diff --git a/sanic/response.py b/sanic/response.py index 34a53387..9a304bb7 100644 --- a/sanic/response.py +++ b/sanic/response.py @@ -343,8 +343,6 @@ async def file_stream(location, chunk_size=4096, mime_type=None, headers=None, if len(content) < 1: break response.write(content) - except Exception as e: - print(e) finally: await _file.close() return # Returning from this fn closes the stream