Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(276)

Issue 120440043: code review 120440043: go-tour: handle error from ListenAndServe (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by francesc
Modified:
10 years, 7 months ago
Reviewers:
adg
CC:
adg, kortschak, golang-codereviews
Visibility:
Public.

Description

go-tour: handle error from ListenAndServe

Patch Set 1 #

Patch Set 2 : diff -r 7ecc21f5dc9a https://code.google.com/p/go-tour #

Patch Set 3 : diff -r 7ecc21f5dc9a https://code.google.com/p/go-tour #

Patch Set 4 : diff -r 7ecc21f5dc9a https://code.google.com/p/go-tour #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M content/methods/web-servers.go View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 4
francesc
Hello adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go-tour
10 years, 7 months ago (2014-08-01 18:05:03 UTC) #1
kortschak
Since you are finishing after the ListenAndServe, perhaps just wrap that call in a log.Print() ...
10 years, 7 months ago (2014-08-02 22:19:59 UTC) #2
adg
LGTM log.Fatal is the way to go. The non-zero exit code matters. On 3 August ...
10 years, 7 months ago (2014-08-04 00:56:32 UTC) #3
francesc
10 years, 7 months ago (2014-08-04 18:53:19 UTC) #4
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=567b1fc8b836
***

go-tour: handle error from ListenAndServe

LGTM=adg
R=adg, dan.kortschak
CC=golang-codereviews
https://codereview.appspot.com/120440043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b