Skip to content

Commit bdf17b3

Browse files
committed
chore: added creation or recreation of the .osmosisd-local
1 parent 1be39f2 commit bdf17b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caribic/src/start.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ fn remove_previous_chain_data() -> Result<(), fs_extra::error::Error> {
804804
remove_dir_all(&osmosis_data_dir)?;
805805
}
806806
fs::create_dir_all(&osmosis_data_dir)
807-
.map_err(|e| fs_extra::error::Error::Io(e))?;
807+
.map_err(|e| fs_extra::error::Error::new(fs_extra::error::ErrorKind::Io(e), "Failed to create .osmosisd-local directory"))?;
808808
Ok(())
809809
} else {
810810
Ok(())

0 commit comments

Comments
 (0)