Missing return on error #4

Closed
opened 2020-06-12 23:43:52 +00:00 by sloum · 1 comment

At this point in the code there should be a return (right after the log). otherwise more will be written to the response body. Just noticed it while referencing your code to write a server of sorts for myself. Probably not something that comes up a lot in this particular location, but thought you'd want to know.

At [this point](https://tildegit.org/solderpunk/molly-brown/src/branch/master/handler.go#L355) in the code there should be a return (right after the log). otherwise more will be written to the response body. Just noticed it while referencing your code to write a server of sorts for myself. Probably not something that comes up a lot in this particular location, but thought you'd want to know.
Owner

Thanks a lot!

Thanks a lot!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: solderpunk/molly-brown#4
No description provided.