add error handler to getusermedia