Remove unused named exception

This commit is contained in:
Nicolas Mowen 2023-10-22 07:26:36 -06:00 committed by GitHub
parent 26db1d8ca0
commit 6d451df4d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -490,7 +490,7 @@ class OnvifController:
status_request = self.cams[camera_name]["status_request"]
try:
status = onvif.get_service("ptz").GetStatus(status_request)
except Exception as e:
except Exception:
pass # We're unsupported, that'll be reported in the next check.
# there doesn't seem to be an onvif standard with this optional parameter