File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -338,6 +338,8 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
338
338
LogPrintf (" Importing bootstrap.dat...\n " );
339
339
LoadExternalBlockFile (file);
340
340
RenameOver (pathBootstrap, pathBootstrapOld);
341
+ } else {
342
+ LogPrintf (" Warning: Could not open bootstrap file %s\n " , pathBootstrap.string ());
341
343
}
342
344
}
343
345
@@ -346,8 +348,10 @@ void ThreadImport(std::vector<boost::filesystem::path> vImportFiles)
346
348
FILE *file = fopen (path.string ().c_str (), " rb" );
347
349
if (file) {
348
350
CImportingNow imp;
349
- LogPrintf (" Importing %s...\n " , path.string ());
351
+ LogPrintf (" Importing blocks file %s...\n " , path.string ());
350
352
LoadExternalBlockFile (file);
353
+ } else {
354
+ LogPrintf (" Warning: Could not open blocks file %s\n " , path.string ());
351
355
}
352
356
}
353
357
}
You can’t perform that action at this time.
0 commit comments