Browse Source

Tweak logged messages

Kevin Sawicki 8 years ago
parent
commit
b85ebb00aa
1 changed files with 1 additions and 2 deletions
  1. 1 2
      spec/fixtures/no-proprietary-codecs.js

+ 1 - 2
spec/fixtures/no-proprietary-codecs.js

@@ -31,12 +31,11 @@ app.once('ready', () => {
     }
 
     if (message === 'error' && error === MEDIA_ERR_SRC_NOT_SUPPORTED) {
-      console.log('Video format not supported, proprietary codecs are not included')
       app.exit(0)
       return
     }
 
-    console.log(`Unexpected error: ${error}`)
+    console.log(`Unexpected response from page: ${message} ${error}`)
     app.exit(1)
   })
 })