iaq: better error handling

2 jobs for !508 with schneider/iaq-python in 54 seconds (queued for 2 seconds)
latest merge request
Name Stage Failure
failed
lint Test
 
-except(KeyboardInterrupt, ConnectionResetError) as e:
+except (KeyboardInterrupt, ConnectionResetError) as e:
print(str(e))

-#device.disconnect()
+# device.disconnect()
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1