mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
sessions: add GobTranscoder and document the DefaultTranscoder package-level variable
Former-commit-id: 631d52bb6d0eb0dbe2e7416517ec019c5902ca71
This commit is contained in:
@@ -288,7 +288,7 @@ func (db *Database) Get(sid string, key string) (value interface{}) {
|
||||
return sessions.DefaultTranscoder.Unmarshal(valueBytes, &value)
|
||||
})
|
||||
if err != nil {
|
||||
golog.Debugf("session '%s' key '%s' not found", sid, key)
|
||||
golog.Debugf("session '%s' key '%s' cannot be retrieved: %v", sid, key, err)
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user