Commit 0d9a603c authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 46beeb50
......@@ -210,8 +210,11 @@ type δwaiter struct {
// The watcher stops when it sees either the storage being closed or an error.
// The DB is shutdown on exit.
func (db *DB) watcher() (err error) {
defer db.shutdown(err)
defer xerr.Contextf(&err, "db: watcher")
defer func() {
//fmt.Printf("db: watcher: exit: %s\n", err)
xerr.Contextf(&err, "db: watcher")
db.shutdown(err)
}()
var event Event
var ok bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment