Closed CarstenGrohmann closed 1 year ago
From my user perspective, the second exception ReadTimeout: Get no response from inverter: timed out is enough information. The stack trace and the first exception TimeoutError: timed out is not necessary and should be hidden by default or only shown when debug is enabled.
This is the normal Python Traceback behavior.
I changed how common connection errors are handles and cleaned the output with https://github.com/jedie/inverter-connect/pull/33
Thank you for implementing this change:
INFO:inverter.connection:Connect to inverter:48899...
Get no response from inverter: timed out
I tried to query my inverter when it was powered off.
This results in a stack trace with two exceptions, as shown in the following example.
From my user perspective, the second exception
ReadTimeout: Get no response from inverter: timed out
is enough information. The stack trace and the first exceptionTimeoutError: timed out
is not necessary and should be hidden by default or only shown when debug is enabled.What do you think about reducing the output in this situation?
Regards, Carsten