Add debug information on update

This commit is contained in:
Antonio J. Delgado 2024-11-19 18:34:33 +02:00
parent 4a7e2bce53
commit d15fb5c02e

View file

@ -921,6 +921,14 @@ class NextcloudHandler:
) )
if r.status_code < 299: if r.status_code < 299:
self.debug(
{
"action": "update_password",
"message": "Updated password",
"object": safer_obj,
"status_code": r.status_code
}
)
return r.json() return r.json()
self.error( self.error(
{ {