weaver
weaver copied to clipboard
Enable errcheck linter on production files
Closes #90
This PR completes the work to enable the errcheck
linter on non-test files. There are two changes:
- handle and print errors related to serving the perfetto backend
- ignore errors from async calls to
conn.send
.conn.send
captures the error asconn.failure
, and any subsequent calls tosend
will return the first error. Ignoring thesend
error is these cases should be safe because because the error will be related a bit later, not completely lost.