Description
Fixed incorrect exception type checking in the software installation module that was preventing proper detection of ConnectionError exceptions during device reboots.
Problem
The code was checking for "ConnectionError" in the string representation of the exception type (str(type(err))) instead of checking the exception message itself (str(err)). This caused the module to incorrectly handle expected connection errors that occur during device reboots after software installation.
Fix Line: 794
if "ConnectionError" in str(err):