Add debug information on update
This commit is contained in:
parent
4a7e2bce53
commit
d15fb5c02e
1 changed files with 8 additions and 0 deletions
|
@ -921,6 +921,14 @@ class NextcloudHandler:
|
|||
)
|
||||
|
||||
if r.status_code < 299:
|
||||
self.debug(
|
||||
{
|
||||
"action": "update_password",
|
||||
"message": "Updated password",
|
||||
"object": safer_obj,
|
||||
"status_code": r.status_code
|
||||
}
|
||||
)
|
||||
return r.json()
|
||||
self.error(
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue