Browse Source

Fix: missing error check

Rod Hynes 7 years ago
parent
commit
26e51317fa
1 changed files with 3 additions and 0 deletions
  1. 3 0
      psiphon/server/services.go

+ 3 - 0
psiphon/server/services.go

@@ -368,6 +368,9 @@ func NewSupportServices(config *Config) (*SupportServices, error) {
 	}
 	}
 
 
 	blocklist, err := NewBlocklist(config.BlocklistFilename)
 	blocklist, err := NewBlocklist(config.BlocklistFilename)
+	if err != nil {
+		return nil, common.ContextError(err)
+	}
 
 
 	tacticsServer, err := tactics.NewServer(
 	tacticsServer, err := tactics.NewServer(
 		CommonLogger(log),
 		CommonLogger(log),