diff --git a/.travis.yml b/.travis.yml index 2d05aeb07..99aca9f06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: go go: # - "1.11.x" At minimum the code should run make check on the latest two go versions in the default linux environment provided by Travis. - - "1.13.x" + - "1.12.x" dist: xenial diff --git a/pkg/router/route_group.go b/pkg/router/route_group.go index 2affcd3dd..ad03c437b 100644 --- a/pkg/router/route_group.go +++ b/pkg/router/route_group.go @@ -448,7 +448,7 @@ func (rg *RouteGroup) waitForCloseLoop(waitTimeout time.Duration) error { select { case <-closeCtx.Done(): - return fmt.Errorf("close loop timed out: %w", closeCtx.Err()) + return fmt.Errorf("close loop timed out: %v", closeCtx.Err()) case <-closeDoneCh: } diff --git a/pkg/router/router.go b/pkg/router/router.go index 9c66a1432..ab0ba7c92 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -422,7 +422,7 @@ func (r *router) handleClosePacket(ctx context.Context, packet routing.Packet) e } if err := rg.handleClosePacket(closeCode); err != nil { - return fmt.Errorf("error handling close packet with code %d by route group with descriptor %s: %w", + return fmt.Errorf("error handling close packet with code %d by route group with descriptor %s: %v", closeCode, &desc, err) }