mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 07:06:00 +03:00
[PR #46] [MERGED] ResourceException now has status_code, status_message, content #151
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/proxmoxer/proxmoxer/pull/46
Author: @mihailstoynov
Created: 1/29/2021
Status: ✅ Merged
Merged: 2/10/2021
Merged by: @jhollowe
Base:
develop← Head:more-expressive-resource-exception📝 Commits (3)
b9510ddallow passing values containg spaces and special characters when using ssh89999a8Add errors to ResourceException; use response text9d4219fFix missing text attribute in SSH backends📊 Changes
2 files changed (+28 additions, -8 deletions)
View changed files
📝
proxmoxer/backends/base_ssh.py(+1 -0)📝
proxmoxer/core.py(+27 -8)📄 Description
ResourceException now has status_code, status_message, content fields that help when processing errors.
Very useful when you just want to test just the response code of the request like this:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.