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

Separation of concerns: InstallationUtil class is displaying error messages #133

Closed
jorijn opened this issue Apr 7, 2018 · 0 comments · Fixed by #136
Closed

Separation of concerns: InstallationUtil class is displaying error messages #133

jorijn opened this issue Apr 7, 2018 · 0 comments · Fixed by #136
Assignees
Milestone

Comments

@jorijn
Copy link
Contributor

jorijn commented Apr 7, 2018

Steps to reproduce:

  1. Use the InstallationUtil to create ApiContext
  2. Be in such state than an exception is thrown

What should happen:

  1. InstallationUtil should throw the exception.
  2. The exception is not caught, displaying the whole stack trace instead of the main error message.

What happens:

  1. InstallationUtil is catching the exception and printing it, instead of terminating the code execution.

needs #137

@OGKevin OGKevin added this to the 0.13.5 milestone Apr 7, 2018
jorijn added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
…he `bunq-install` script, the `InstallationUtil` class should just throw exceptions when something goes south (bunq#133)
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 7, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 9, 2018
OGKevin added a commit to jorijn/sdk_php that referenced this issue Apr 9, 2018
OGKevin added a commit that referenced this issue Apr 9, 2018
Bunq-install should display error message and not installation util. (#133)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment