mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: allow result too large (#14795)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
use serde::{de::DeserializeOwned, Serialize};
|
||||
use std::{
|
||||
fs::{self, File, OpenOptions, ReadDir},
|
||||
io::{self, BufWriter, Error, ErrorKind, Write},
|
||||
io::{self, BufWriter, Error, Write},
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
|
||||
@@ -324,7 +324,7 @@ where
|
||||
File::create(&tmp_path).map_err(|err| FsPathError::create_file(err, &tmp_path))?;
|
||||
|
||||
write_fn(&mut file).map_err(|err| FsPathError::Write {
|
||||
source: Error::new(ErrorKind::Other, err.into()),
|
||||
source: Error::other(err.into()),
|
||||
path: tmp_path.clone(),
|
||||
})?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user