Skip to content
Snippets Groups Projects
Commit e06e8068 authored by Jono Wenger's avatar Jono Wenger
Browse files

Make ID verification failure return an error instead of panic

parent cebe2c8f
No related branches found
No related tags found
1 merge request!510Release
...@@ -40,7 +40,7 @@ func NewBroadcastChannel(channel crypto.Channel, listenerCb ListenerFunc, net Cl ...@@ -40,7 +40,7 @@ func NewBroadcastChannel(channel crypto.Channel, listenerCb ListenerFunc, net Cl
} }
if !bc.verifyID() { if !bc.verifyID() {
jww.FATAL.Panicf("Failed ID verification for broadcast channel") return nil, errors.New("Failed ID verification for broadcast channel")
} }
// Add channel's identity // Add channel's identity
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment