adds the newly required error handler to getUserMedia