feat: add http status
This commit is contained in:
@@ -62,7 +62,7 @@ impl SigningKeyPair {
|
||||
Ok(s) => s,
|
||||
};
|
||||
match File::create(file) {
|
||||
Err(e) => return Err(rust_util::new_box_ioerror(&format!("File create: {}, failed: {}", file, e))),
|
||||
Err(e) => Err(rust_util::new_box_ioerror(&format!("File create: {}, failed: {}", file, e))),
|
||||
Ok(mut f) => {
|
||||
match f.write_all(ser_bytes.as_bytes()) {
|
||||
Err(e) => Err(rust_util::new_box_ioerror(&format!("File create: {}, failed: {}", file, e))),
|
||||
|
||||
Reference in New Issue
Block a user