From d02886786e4c496dc5a2c8851a7a01764905182b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Mon, 28 Aug 2023 19:00:00 +0200 Subject: [PATCH] Show the error type --- embassy-net-adin1110/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-net-adin1110/src/lib.rs b/embassy-net-adin1110/src/lib.rs index 4af054aea..9eca801f3 100644 --- a/embassy-net-adin1110/src/lib.rs +++ b/embassy-net-adin1110/src/lib.rs @@ -474,8 +474,8 @@ impl<'d, SPI: SpiDevice, INT: Wait, RST: OutputPin> Runner<'d, SPI, INT, RST> { AdinError::Spi(e) => { error!("RX Spi error {}", e.kind()); } - _ => { - error!("RX Error"); + e => { + error!("RX Error {:?}", e); } }, },