Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(980)

Unified Diff: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js

Issue 2886073002: DevTools: prep audits panel for Lighthouse roll (Closed)
Patch Set: fix bug reporting Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
diff --git a/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
index 65dd3543a1e2e79958948e434b7cc00277c8e4cd..595b0f7f494e224cc199309fbdf23cc55d75a9d9 100644
--- a/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
+++ b/third_party/WebKit/Source/devtools/front_end/audits2_worker/Audits2Service.js
@@ -56,7 +56,11 @@ var Audits2Service = class {
result.artifacts = {traces: traces};
return result;
})
- .catchException(null);
+ .catch(err => ({
+ failed: true,
+ message: err.message,
+ stack: err.stack,
paulirish 2017/05/17 23:08:19 add userAgent and initialUrl
phulce 2017/05/17 23:44:13 Done.
+ }));
}
/**

Powered by Google App Engine
This is Rietveld 408576698