diff options
Diffstat (limited to 'crates/common/mqtt_channel/src')
-rw-r--r-- | crates/common/mqtt_channel/src/session.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/common/mqtt_channel/src/session.rs b/crates/common/mqtt_channel/src/session.rs index 17831758..97cd91f4 100644 --- a/crates/common/mqtt_channel/src/session.rs +++ b/crates/common/mqtt_channel/src/session.rs @@ -37,7 +37,7 @@ pub async fn init_session(config: &Config) -> Result<(), MqttError> { } Err(err) => { - eprintln!("Connection Error {}", err.to_string()); + eprintln!("Connection Error {}", err); break; } _ => (), @@ -77,7 +77,7 @@ pub async fn clear_session(config: &Config) -> Result<(), MqttError> { } Err(err) => { - eprintln!("Connection Error {}", err.to_string()); + eprintln!("Connection Error {}", err); break; } _ => (), |