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

Unified Diff: ui/file_manager/file_manager/foreground/js/import_controller.js

Issue 964643002: Report Promise error-context strings to GA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2311
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ui/file_manager/file_manager/common/js/test_importer_common.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/import_controller.js
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js
index 547800d0e4b44bdf45790449f1f3d64f0dbbce25..0221563a7eec1374c49a894cbc71bd5149c1e58d 100644
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js
@@ -322,7 +322,8 @@ importer.ImportController.prototype.checkState_ = function(opt_scan) {
this.updateUi_(
importer.ActivityState.READY, // to import...
opt_scan);
- }.bind(this));
+ }.bind(this))
+ .catch(importer.getLogger().catcher('import-controller-check-state'));
};
/**
« no previous file with comments | « ui/file_manager/file_manager/common/js/test_importer_common.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698