base1: Propagate failure data properly when waiting on DBus proxies
base1: Propagate failure data properly when waiting on DBus proxies

When waiting on a DBus proxy, propagate the error code correctly
into the promise returned from the .wait() method.

Closes #5033
Reviewed-by: Peter <a316049dd34607c62d4611d63ab22a6454add223@redhat.com>

andreasn/cockpit,stefwalter/cockpit,larsu/cockpit,cockpit-project/cockpit,petervo/cockpit,petervo/cockpit,stefwalter/cockpit,vanloswang/cockpit,garrett/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,harishanand95/cockpit,dperpeet/cockpit,deryni/cockpit,sgallagher/cockpit,cockpituous/cockpit,andreasn/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,deryni/cockpit,arilivigni/cockpit,xhad/cockpit,xhad/cockpit,dperpeet/cockpit,xhad/cockpit,arilivigni/cockpit,sgallagher/cockpit,petervo/cockpit,mvollmer/cockpit,harishanand95/cockpit,dperpeet/cockpit,sgallagher/cockpit,arilivigni/cockpit,xhad/cockpit,dperpeet/cockpit,cockpituous/cockpit,martinpitt/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,xhad/cockpit,larskarlitski/cockpit,michalskrivanek/cockpit,stefwalter/cockpit,deryni/cockpit,larskarlitski/cockpit,cockpituous/cockpit,arilivigni/cockpit,dperpeet/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,mvollmer/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,Scribery/cockpit,andreasn/cockpit,sgallagher/cockpit,larsu/cockpit,garrett/cockpit,Scribery/cockpit,cockpit-project/cockpit,larskarlitski/cockpit,mareklibra/cockpit,mareklibra/cockpit,petervo/cockpit,petervo/cockpit,mvollmer/cockpit,garrett/cockpit,arilivigni/cockpit,larsu/cockpit,andreasn/cockpit,Scribery/cockpit,garrett/cockpit,stefwalter/cockpit,martinpitt/cockpit,vanloswang/cockpit,andreasn/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,mareklibra/cockpit,xhad/cockpit,harishanand95/cockpit,dperpeet/cockpit,larskarlitski/cockpit,cockpituous/cockpit,vanloswang/cockpit,sgallagher/cockpit,martinpitt/cockpit,harishanand95/cockpit,arilivigni/cockpit,andreasn/cockpit,Scribery/cockpit,larsu/cockpit,larsu/cockpit,deryni/cockpit,cockpituous/cockpit,mvollmer/cockpit,harishanand95/cockpit,larskarlitski/cockpit,petervo/cockpit,martinpitt/cockpit,deryni/cockpit,harishanand95/cockpit,mvollmer/cockpit,cockpit-project/cockpit,deryni/cockpit,cockpituous/cockpit,petervo/cockpit,Scribery/cockpit,martinpitt/cockpit,SotolitoLabs/cockpit,larskarlitski/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,SotolitoLabs/cockpit,xhad/cockpit,arilivigni/cockpit,sgallagher/cockpit,mareklibra/cockpit,larskarlitski/cockpit,deryni/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,sgallagher/cockpit,mareklibra/cockpit,cockpit-project/cockpit,Scribery/cockpit,cockpit-project/cockpit,SotolitoLabs/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,Scribery/cockpit,dperpeet/cockpit,garrett/cockpit,vanloswang/cockpit,larsu/cockpit,stefwalter/cockpit,moraleslazaro/cockpit,andreasn/cockpit,michalskrivanek/cockpit