immediate failure on bad upstream connection states

This commit is contained in:
mappu 2018-06-04 16:44:04 +12:00
parent d785388d88
commit b470b9a5b3
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ func NewNTFServer(configFile string, verbose bool) (*NTFServer, error) {
err := ret.LaunchUpstreamWorker(telegramUserId, hubNick) err := ret.LaunchUpstreamWorker(telegramUserId, hubNick)
if err != nil { if err != nil {
return nil, fmt.Errorf("Reconnecting upstream for '%s': %s", hubNick, err.Error()) // fatal log.Fatalf("Couldn't reconnect upstream for '%s': %s", hubNick, err.Error()) // fatal - inconsistent DB is the only possible cause
} }
launchedAny = true launchedAny = true