Add error handling from peerconnection
Add better error handling