mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Removes leftover logging calls
This commit is contained in:
parent
2d52226732
commit
b9bcff22f8
@ -2229,10 +2229,10 @@ class RemoteVersionView(GenericAPIView):
|
||||
remote_version = data["tag_name"]
|
||||
# Some early tags used ngx-x.y.z
|
||||
remote_version = remote_version.removeprefix("ngx-")
|
||||
except ValueError:
|
||||
logger.debug("An error occurred parsing remote version json")
|
||||
except httpx.HTTPError:
|
||||
logger.exception("An error occurred checking for available updates")
|
||||
except ValueError as e:
|
||||
logger.debug(f"An error occurred parsing remote version json: {e}")
|
||||
except httpx.HTTPError as e:
|
||||
logger.debug(f"An error occurred checking for available updates: {e}")
|
||||
|
||||
is_greater_than_current = (
|
||||
packaging_version.parse(
|
||||
@ -2240,9 +2240,6 @@ class RemoteVersionView(GenericAPIView):
|
||||
)
|
||||
> current_version
|
||||
)
|
||||
logger.info(remote_version)
|
||||
logger.info(current_version)
|
||||
logger.info(is_greater_than_current)
|
||||
|
||||
return Response(
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user