X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FImport%2FParser.php;h=c1ec6a7989631010b30cb138f123719f31d63d09;hb=4a00ebd175e4819197ddec91312675c58b25096a;hp=b168d2f9fec6df44e964e79eccfa18cc370aaf7c;hpb=d36fcd1e418ab43bff5cc2f5b360bbc5261b9d1f;p=civicrm-core.git diff --git a/CRM/Event/Import/Parser.php b/CRM/Event/Import/Parser.php index b168d2f9fe..c1ec6a7989 100644 --- a/CRM/Event/Import/Parser.php +++ b/CRM/Event/Import/Parser.php @@ -70,7 +70,7 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { $onDuplicate = self::DUPLICATE_SKIP ) { if (!is_array($fileName)) { - CRM_Core_Error::fatal(); + throw new CRM_Core_Exception('Unable to determine import file'); } $fileName = $fileName['name'];