Skip to content

Incorrect ConnectionError Exception Detection in software.py #770

@Niklasr69

Description

@Niklasr69

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):

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions