From 7ae0bf52dd4ba7d9850c5655414ccc90f2e78161 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 9 Apr 2019 12:47:42 +0200 Subject: [PATCH] src/server/command_socket.rs: code cleanup - fix error message --- src/server/command_socket.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/command_socket.rs b/src/server/command_socket.rs index 07ee5fe1..b69866dc 100644 --- a/src/server/command_socket.rs +++ b/src/server/command_socket.rs @@ -43,7 +43,7 @@ pub fn create_control_socket(path: P, auto_remove: bool, f: F) -> Result() { Ok(p) => p, - Err(err) => bail!("ERRER {}", err), + Err(err) => bail!("unable to parse json value - {}", err), }; f1(param) @@ -63,7 +63,6 @@ pub fn create_control_socket(path: P, auto_remove: bool, f: F) -> Result