Remove exception print(e) statement.
This commit is contained in:
parent
181977ad4e
commit
ff2ae11ac8
|
@ -343,8 +343,6 @@ async def file_stream(location, chunk_size=4096, mime_type=None, headers=None,
|
||||||
if len(content) < 1:
|
if len(content) < 1:
|
||||||
break
|
break
|
||||||
response.write(content)
|
response.write(content)
|
||||||
except Exception as e:
|
|
||||||
print(e)
|
|
||||||
finally:
|
finally:
|
||||||
await _file.close()
|
await _file.close()
|
||||||
return # Returning from this fn closes the stream
|
return # Returning from this fn closes the stream
|
||||||
|
|
Loading…
Reference in New Issue
Block a user