Made mediacapture send error msgs to log