diff --git a/README.md b/README.md index b775544b..cac14292 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ Check out the **[contributing wiki](https://github.com/pions/webrtc/wiki/Contrib * [Alex Browne](https://github.com/albrow) - *JavaScript/Wasm bindings* * [adwpc](https://github.com/adwpc) - *SFU example with websocket* * [imalic3](https://github.com/imalic3) - *SFU websocket example with datachannel broadcast* +* [Žiga Željko](https://github.com/zigazeljko) ### License MIT License - see [LICENSE](LICENSE) for full text diff --git a/examples/data-channels-create/main.go b/examples/data-channels-create/main.go index e1590421..56d91d92 100644 --- a/examples/data-channels-create/main.go +++ b/examples/data-channels-create/main.go @@ -50,7 +50,7 @@ func main() { // Send the message as text sendErr := dataChannel.SendText(message) if sendErr != nil { - panic(err) + panic(sendErr) } } })