Verified Commit 77eec456 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update error info on inspection failure in inquiry

parent 17a6a393
......@@ -82,7 +82,12 @@ class HTTPArchive
'height': 667, # …
'postHook': allowGraceTime # Allow grace period after document load event
.on 'fail', reject
.on 'fail', (url, err, index, urls) ->
error = new Error() = "HAR capture failed"
error.message = "#{url} failed with error #{err}"
console.log error
reject (error)
.on 'har', (har) -> resolve har
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment