rust2.0 #1

Merged
hibas123 merged 13 commits from rust2.0 into main 2024-08-13 10:00:18 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit f401d58f07 - Show all commits

View File

@ -1,6 +1,6 @@
{ {
"name": "@hibas123/jrpcgen", "name": "@hibas123/jrpcgen",
"version": "1.2.13", "version": "1.2.14",
"main": "lib/index.js", "main": "lib/index.js",
"license": "MIT", "license": "MIT",
"packageManager": "yarn@3.1.1", "packageManager": "yarn@3.1.1",

View File

@ -79,7 +79,8 @@ impl JRPCClient {
} else if let Some(result) = result.result { } else if let Some(result) = result.result {
return Ok(result); return Ok(result);
} else { } else {
return Err(format!("No result received").into()); return Ok(Value::Null);
// return Err(format!("No result received").into());
} }
} else { } else {
return Err("Error while receiving result".into()); return Err("Error while receiving result".into());