forked from Qortal/qortal
Added more detail to exception message.
This commit is contained in:
parent
5bed5fb8fd
commit
7397b9fa87
@ -161,7 +161,7 @@ public class ArbitraryDataFile {
|
||||
try {
|
||||
return Files.copy(sourcePath, destPath, StandardCopyOption.REPLACE_EXISTING);
|
||||
} catch (IOException e) {
|
||||
throw new IllegalStateException("Unable to copy file to data directory");
|
||||
throw new IllegalStateException(String.format("Unable to copy file %s to data directory %s", sourcePath, destPath));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user