Replace error handling package with emperror; add better reporting for errors escaping server root
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type WebsocketBag struct {
|
||||
mu sync.Mutex
|
||||
mu sync.Mutex
|
||||
conns map[uuid.UUID]*context.CancelFunc
|
||||
}
|
||||
|
||||
@@ -58,4 +58,4 @@ func (w *WebsocketBag) CancelAll() {
|
||||
|
||||
// Reset the connections.
|
||||
w.conns = make(map[uuid.UUID]*context.CancelFunc)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user