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

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

Issue 945933003: Add support for log file rotation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify rotation logic. Delete the next log if it exists at time of rotation. 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
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'));
};
/**

Powered by Google App Engine
This is Rietveld 408576698