Skip to content

Commit 974820a

Browse files
committed
Clarify log statemeny
1 parent 2c0466f commit 974820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ def socket_write(self, socket_num, buffer, conn_mode=TCP_MODE):
721721
# UDP needs to finalize with this command, does the actual sending
722722
resp = self._send_command_get_response(_SEND_UDP_DATA_CMD, self._socknum_ll)
723723
if resp[0][0] != 1:
724-
raise RuntimeError("Failed to send data")
724+
raise RuntimeError("Failed to send UDP data")
725725
return
726726

727727
if sent != len(buffer):

0 commit comments

Comments
 (0)