darkfi 1 день назад
Родитель
Сommit
b061d72d73
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      bin/tau/taud/src/error.rs

+ 3 - 1
bin/tau/taud/src/error.rs

@@ -79,7 +79,9 @@ pub fn to_json_result(res: TaudResult<JsonValue>, id: i64) -> JsonResult {
                 JsonError::new(ErrorCode::InternalError, Some(e.to_string()), id).into()
             }
             TaudError::IoError(e) => JsonError::new(ErrorCode::InternalError, Some(e), id).into(),
-            TaudError::Sled(e) => JsonError::new(ErrorCode::InternalError, Some(e.to_string()), id).into(),
+            TaudError::Sled(e) => {
+                JsonError::new(ErrorCode::InternalError, Some(e.to_string()), id).into()
+            }
         },
     }
 }