mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 10:20:47 +00:00
HER-1627 followup: show error rather than match faulReadSize
* PersistProcessor.java
rename setupEnvironment to setupCopyEnvironment to make limited purpose of env clear; catch and rethrow IllegalArgumentException with hint that second-open may be cause
* PersistLoadProcessor.java
catch and display IllegalArgumentException same as other failure-to-open SEVERE but proceedable exceptions
* PrecedenceLoader.java
update method names
This commit is contained in:
1 parent
37c32b4e5c
commit
fd5644f109
3 files changed
+15
-10
No files matched your search
@@ -105,7 +105,7 @@ public class PrecedenceLoader {
|
||||
}
|
||||
|
||||
// setup target environment
|
||||
EnhancedEnvironment targetEnv = PersistProcessor.setupEnvironment(env);
|
||||
EnhancedEnvironment targetEnv = PersistProcessor.setupCopyEnvironment(env);
|
||||
StoredClassCatalog classCatalog = targetEnv.getClassCatalog();
|
||||
Database historyDB = targetEnv.openDatabase(
|
||||
null,
|
||||
|
||||
Reference in new issue
Block a user