From 8eb64b3e1b606f2d0cb1840985afd67d90772c7b Mon Sep 17 00:00:00 2001 From: Wisdom Ebong <30173059+webong@users.noreply.github.com> Date: Thu, 5 Oct 2023 11:45:52 +0100 Subject: [PATCH] Update Import.php --- src/Ushahidi/Modules/V3/Listener/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ushahidi/Modules/V3/Listener/Import.php b/src/Ushahidi/Modules/V3/Listener/Import.php index d39b970ffd..143dcdf0d7 100644 --- a/src/Ushahidi/Modules/V3/Listener/Import.php +++ b/src/Ushahidi/Modules/V3/Listener/Import.php @@ -69,7 +69,7 @@ public function handle( // ... persist the new entity try { $id = $this->repo->create($entity); - } catch (Exception $e) { + } catch (\Exception $e) { $errors++; } service('repository.set')->addPostToSet($collection_id, $id);