PJUllrich / Complete-Bunq-API-Python-Wrapper

Complete Python API Wrapper for Bunq API
MIT License
9 stars 2 forks source link

KeyError if response is an error #4

Closed OGKevin closed 7 years ago

OGKevin commented 7 years ago

If response is an error, KeyError will be raised. Think it would be better to just return the entire response and let the user decide what to do with it.

PS. I forgot to squash my commits guess you could squash them with the merge button if you agree.