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

Unified Diff: chrome/tools/pbl_tool/pbl_tool.cc

Issue 173357: Error diagnostics for Blacklist IO... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« chrome/browser/privacy_blacklist/blacklist_store.cc ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/pbl_tool/pbl_tool.cc
===================================================================
--- chrome/tools/pbl_tool/pbl_tool.cc (revision 25875)
+++ chrome/tools/pbl_tool/pbl_tool.cc (working copy)
@@ -44,14 +44,15 @@
for (int current = 1; current < argc-1; ++current) {
FilePath input(argv[current]);
if (!io.Read(input)) {
- ICERR << "Error reading input file " << argv[current] << "\n";
+ ICERR << "Error reading " << argv[current] << ":\n"
+ << io.last_error() << "\n";
return -1;
}
}
FilePath output(argv[argc-1]);
if (!io.Write(output))
- ICERR << "Error writing output file " << argv[2] << "\n";
+ ICERR << "Error writing " << argv[2] << ":\n" << io.last_error() << "\n";
return 0;
}
« chrome/browser/privacy_blacklist/blacklist_store.cc ('K') | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698