GitHub PullRequestReviewCommentEvent at 2014-01-27 18:37:59
Repository: conf-registration-api
Actor: ryancarlson
Payload: {"comment":{"url":"https://api.github.com/repos/CruGlobal/conf-registration-api/pulls/comments/9199851","id":9199851,"diff_hunk":"@@ -59,14 +65,78 @@ public void process(Payment payment, CrsApplicationUser loggedInUser)\n \t\t\t\tpayment.setAuthnetTransactionId(transactionId);\n \t\t\t\tpayment.setTransactionDatetime(clock.currentDateTime());\n \t\t\t}\n+\t\t\tcatch(AuthnetTransactionException e)\n+\t\t\t{\n+\t\t\t\tthrow new WebApplicationException(e.getMessage(), e, 502);\n+\t\t\t}\n \t\t\tcatch(Exception e)\n \t\t\t{\n \t\t\t\tthrow new WebApplicationException(e, 502);\n \t\t\t}\n \n-\t\t\tpaymentService.updatePayment(payment.toDbPaymentEntity());\n+\t\t\tpaymentService.updatePayment(payment.toDbPaymentEntity(), loggedInUser);\n \t\t}\n     }\n+\t","path":"src/main/java/org/cru/crs/api/process/PaymentProcessor.java","position":60,"original_position":60,"commit_id":"2e33db625a2b010710f4eea8d3d5f0a298a8ab73","original_commit_id":"2e33db625a2b010710f4eea8d3d5f0a298a8ab73","user":{"login":"ryancarlson","id":3768029,"avatar_url":"https://gravatar.com/avatar/e08062f49f466891c09609353478cfbe?d=https%3A%2F%2Fidenticons.github.com%2F585b037ca57a7a4cdefa7806da00ca12.png&r=x","gravatar_id":"e08062f49f466891c09609353478cfbe","url":"https://api.github.com/users/ryancarlson","html_url":"https://github.com/ryancarlson","followers_url":"https://api.github.com/users/ryancarlson/followers","following_url":"https://api.github.com/users/ryancarlson/following{/other_user}","gists_url":"https://api.github.com/users/ryancarlson/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancarlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancarlson/subscriptions","organizations_url":"https://api.github.com/users/ryancarlson/orgs","repos_url":"https://api.github.com/users/ryancarlson/repos","events_url":"https://api.github.com/users/ryancarlson/events{/privacy}","received_events_url":"https://api.github.com/users/ryancarlson/received_events","type":"User","site_admin":false},"body":"Comment added.","created_at":"2014-01-27T18:37:59Z","updated_at":"2014-01-27T18:37:59Z","html_url":"https://github.com/CruGlobal/conf-registration-api/pull/127#discussion_r9199851","pull_request_url":"https://api.github.com/repos/CruGlobal/conf-registration-api/pulls/127","_links":{"self":{"href":"https://api.github.com/repos/CruGlobal/conf-registration-api/pulls/comments/9199851"},"html":{"href":"https://github.com/CruGlobal/conf-registration-api/pull/127#discussion_r9199851"},"pull_request":{"href":"https://api.github.com/repos/CruGlobal/conf-registration-api/pulls/127"}}}}