Clean up error handling in legacy functions in import parser
authoreileen <emcnaughton@wikimedia.org>
Thu, 10 Dec 2020 19:42:27 +0000 (08:42 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 12 Dec 2020 05:35:02 +0000 (18:35 +1300)
commiteba173d631c51d981f83626416fa5d7a951a23e5
treef33925efdd122662f3f40993e5d7576faa94b186
parentdc4063dc0f274d0962a416f357283b96f565e4fa
Clean up error handling in legacy functions in import parser

This makes the handling of errors cleaner & makes it easier for us to unravel what is going on here.
CRM/Contact/Import/Parser/Contact.php
CRM/Utils/DeprecatedUtils.php
tests/phpunit/CRM/Contact/Import/Parser/ContactTest.php
tests/phpunit/CRM/Utils/DeprecatedUtilsTest.php