HomePhabricator

Log `ResponseWriter.Write` errors

Authored by Eevans on May 30 2019, 9:47 PM.

Description

Log ResponseWriter.Write errors

A gosec run against Kask as part
of its security review
turned up an unhandled error in the GET handler. There does not seem
to be anything to handle here per say, but these errors should at
least be logged.

See also: https://stackoverflow.com/a/43976633

Bug: T219831
Change-Id: I2cde93487918abdbe29fb3bbe037e144927b89c4

Details

Committed
EevansMay 30 2019, 9:48 PM
Parents
rMSKSc13c61f7bc01: Accept a list of hostnames as Cassandra contacts
Branches
Unknown
Tags
Unknown
References
refs/changes/16/513516/1
ChangeId
I2cde93487918abdbe29fb3bbe037e144927b89c4