Add error handler for getUserMedia