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);