api types: namespace: include problematic component in error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
11ffd737e3
commit
c2425132c4
|
@ -632,7 +632,7 @@ impl BackupNamespace {
|
|||
}
|
||||
|
||||
if !crate::PROXMOX_SAFE_ID_REGEX.is_match(&subdir) {
|
||||
bail!("not a valid namespace component");
|
||||
bail!("not a valid namespace component: {subdir}");
|
||||
}
|
||||
|
||||
if !self.inner.is_empty() {
|
||||
|
|
Loading…
Reference in New Issue