summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-07 16:26:59 +0300
committerWolfy-J <[email protected]>2018-06-07 16:26:59 +0300
commite74adb2b42e6c75b8235190dcaf01988aed3191e (patch)
treee9425f558525c405ba784d2beb7e51154d8b8bc0 /server_config.go
parent06e3569fabba6f2e36b5aac4df81484526003a9f (diff)
go fmt
Diffstat (limited to 'server_config.go')
-rw-r--r--server_config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server_config.go b/server_config.go
index 54f7120b..ad708e10 100644
--- a/server_config.go
+++ b/server_config.go
@@ -41,7 +41,7 @@ func (cfg *ServerConfig) makeFactory() (Factory, error) {
ln, err := net.Listen(dsn[0], dsn[1])
if err != nil {
- return nil, nil
+ return nil, err
}
return NewSocketFactory(ln, cfg.RelayTimeout), nil