diff --git a/cache/ssdb/ssdb.go b/cache/ssdb/ssdb.go index 128314a6..0f8fdf00 100644 --- a/cache/ssdb/ssdb.go +++ b/cache/ssdb/ssdb.go @@ -27,7 +27,7 @@ func NewSsdbCache() cache.Cache { func (rc *Cache) Get(key string) interface{} { if rc.conn == nil { if err := rc.connectInit(); err != nil { - panic(err) + return nil } } value, err := rc.conn.Get(key)