Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error handling for OSC_URL #4

Open
weex opened this issue Mar 9, 2012 · 0 comments
Open

Add error handling for OSC_URL #4

weex opened this issue Mar 9, 2012 · 0 comments
Labels

Comments

@weex
Copy link
Owner

weex commented Mar 9, 2012

The script will crash only when a payment comes in if the OSC_URL is incorrect. We should put the call to bpn.php in a try statement and have it log an error instead of crashing.

For extra credit, we can add a handler to the bpn.php that enables us to check that we're able to access it and have that check done right when monitor.py is first run even when no payments have come in. That check should end the script with a helpful error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant