diff options
Diffstat (limited to 'mqtt-tester/src/behaviour/wait_for_connect.rs')
-rw-r--r-- | mqtt-tester/src/behaviour/wait_for_connect.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mqtt-tester/src/behaviour/wait_for_connect.rs b/mqtt-tester/src/behaviour/wait_for_connect.rs index 1d643e3..e63c415 100644 --- a/mqtt-tester/src/behaviour/wait_for_connect.rs +++ b/mqtt-tester/src/behaviour/wait_for_connect.rs @@ -4,6 +4,8 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. // +use miette::Context; + use crate::{ behaviour_test::BehaviourTest, command::{Input, Output}, @@ -41,6 +43,8 @@ impl BehaviourTest for WaitForConnect { }), ) .await + .context("Waiting for bytes to check") + .map_err(miette::Error::from) } fn report_name(&self) -> &str { |