Remove exception print(e) statement.

This commit is contained in:
Ashley Sommer 2017-05-19 13:00:01 +10:00
parent 181977ad4e
commit ff2ae11ac8

View File

@ -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