1. Adopt OpenJDK
  2. Untitled project
  3. Betterrev
  4. Issues
Issue #50 new

BitbucketPoller doesn't propagate Exceptions to a useful place (A general architectural issue with our use of Akka/Actors?)

Martijn Verburg
created an issue

e.g.

The if case below only logs the error (which might be enough if we use something like logstash & a notifcation system)

Response response = WS.url(String.format(API_URL, owner, project)).get().get();
               if ((response.getStatus() != Http.Status.OK) || response.asJson() == null) {
                   Logger.error("Bitbucket did not return a valid response on the current execution of run()...");
               } else {

Comments (1)

  1. Log in to comment