Skip to content

Commit

Permalink
Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdez99 committed Oct 4, 2024
1 parent 4f2b743 commit ab17022
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/scripts/upload_to_sharepoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@
data=file_content,
auth=HttpNtlmAuth(client_id, client_secret)
)

print(f"Response: {r}") # Print the entire response object
print(f"Response Status Code: {r.status_code}") # Print the status code of the response
if r.status_code >= 400:
print(f"Error occurred: {r.text}") # Print the error text if any error occurred

0 comments on commit ab17022

Please sign in to comment.