mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-24 22:56:01 +03:00
[GH-ISSUE #220] Possibility to make "501 Not Implemented" silent, or propagate the error #124
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#124
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?
Originally created by @grinapo on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/220
I am using
prometheus-pve-exporterwhich in turn usesproxmoxer.I am not sure who should be the target of my sorrow, but it dies on calling newish proxmox features (in this case
/cluster/backup-info/not-backed-up) on and oldish proxmox. Gets 501, chokes on it.I understand that this is handled "peroperly", but as far as a cursory look on the code goes it's not easy to call it (from pve-exporter) and handle the error, since the error doesn't get propagated.
My horrible solution was in
core.py (147)but it's obviously a band-aid and not a solution (gives back empty iterable content, but uhh).
I'm not sure what the right solution would be, apart from possibility to actually propagate back the error instead of crashing.