Matrix bridge working and effectively pushing messages
This commit is contained in:
@@ -15,6 +15,7 @@ def buildLog (action, outputs, response):
|
||||
print(f"{action.name} successful")
|
||||
|
||||
elif action.showstatus is True and response.status_code != 200:
|
||||
print(f"{action.name} failed")
|
||||
print(f"{action.name} failed with status code {response.status_code}")
|
||||
print(f"Response: {response.json()["error"]}")
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user