Skip to content
Snippets Groups Projects
Commit 114e4d79 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

expand logging in the get-passes.py error handling case

maybe will reveal some useful info some day
parent 17cb736c
No related branches found
No related tags found
5 merge requests!315update production,!314update production,!313update production,!312update production,!308Accept configuration for the number of tokens issued by the issuer
...@@ -118,8 +118,9 @@ def test( ...@@ -118,8 +118,9 @@ def test(
except: except:
# Dump the fake Stripe API server logs, too, since the error may arise # Dump the fake Stripe API server logs, too, since the error may arise
# from a PaymentServer/Stripe interaction. # from a PaymentServer/Stripe interaction.
code, output = api_stripe_com.execute('journalctl -u api.stripe.com') for node, unit in [(api_stripe_com, "api.stripe.com"), (issuer, "zkapissuer")]:
api_stripe_com.log(output) code, output = node.execute(f'journalctl -u {unit}')
node.log(output)
raise raise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment