Skip to content

Commit

Permalink
Update Import.php
Browse files Browse the repository at this point in the history
  • Loading branch information
webong committed Oct 25, 2023
1 parent 45e904d commit 8eb64b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ushahidi/Modules/V3/Listener/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8eb64b3

Please sign in to comment.