Remove inappropriate exception handling.
authoreileen <emcnaughton@wikimedia.org>
Sun, 13 Jan 2019 21:13:43 +0000 (10:13 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 14 Jan 2019 09:28:03 +0000 (22:28 +1300)
commitdb77f7d32a57364c030ff6533a3767867e4ef54c
tree8d0fc4e9660f8792fb086877af1db5735ab64329
parent0365eff96cde3813c5111d17aeaee749ca5720c6
Remove inappropriate exception handling.

Per discussion in https://github.com/civicrm/civicrm-core/commit/570243c292fa7bceea74ce233feceb3f69211e54#r31805899

the core logic has been changed to now accept a payment regardless of contribution status. This reflects the
fact that a payment could be received for a fully paid contribution and we still need to record it.

This exception is inappropriately narrow (& likely in the wrong place since it should probably be closer to
where the decision is made about adding a payment rather than when it is being processed
CRM/Financial/BAO/Payment.php