Skip to content

Commit

Permalink
ensure err is reported on qr; gofmt gen/*
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Odeke committed Oct 22, 2015
1 parent 6fb0b16 commit 6cb2970
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 3 additions & 5 deletions gen/generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.


// This file was auto-generated at 2015-07-10 02:15:09.751 -0600 MDT
// Edits will be overwritten!


package generated

import "github.com/odeke-em/xon/pkger/src"

var PkgInfo = &pkger.PkgInfo {
var PkgInfo = &pkger.PkgInfo{
CommitHash: "<CURRENT_COMMIT>",
GoVersion: "<GO_VERSION>",
OsInfo: "<OS_INFO>",
GoVersion: "<GO_VERSION>",
OsInfo: "<OS_INFO>",
}
5 changes: 4 additions & 1 deletion src/qr-share.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ func (g *Commands) QR(byId bool) error {
if g.opts.Verbose {
g.log.Logf("%q => %q\n", kv.key, fullUrl)
}
open.Start(fullUrl)

if err := open.Start(fullUrl); err != nil {
g.log.Logf("qr: err %v %q\n", err, fullUrl)
}
}

return nil
Expand Down

0 comments on commit 6cb2970

Please sign in to comment.