From 1fc0bf8dc8eac267eb2db85416a35bcedb3c9359 Mon Sep 17 00:00:00 2001 From: "Jonathan Leibiusky @xetorthio" Date: Wed, 14 Jun 2017 09:48:40 -0300 Subject: [PATCH] Avoid stopping the world --- pwd/session.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwd/session.go b/pwd/session.go index 89d0ca2..5362be3 100644 --- a/pwd/session.go +++ b/pwd/session.go @@ -204,7 +204,8 @@ func (p *pwd) SessionLoadAndPrepare() error { for _, s := range sessions { // Connect PWD daemon to the new network if s.PwdIpAddress == "" { - return fmt.Errorf("Cannot load stored sessions as they don't have the pwd ip address stored with them") + log.Printf("Cannot load store session [%s] as they don't have the pwd ip address stored with them\n", s.PwdIpAddress) + continue } wg.Add(1) go func(s *Session) {