Skip to content

Commit

Permalink
Merge 9b451aa into 760bbd3
Browse files Browse the repository at this point in the history
  • Loading branch information
iranimij committed Apr 5, 2024
2 parents 760bbd3 + 9b451aa commit 6459236
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Model/WhitelistDefaultInstaller.php
Expand Up @@ -39,12 +39,16 @@ public function __construct(
public function install(): void
{
foreach ($this->whitelistDefaultPool->getEntries() as $route => $data) {
$this->whitelistRepository->createEntry(
null,
$data['label'],
$route,
$data['strategy'] ?: 'default',
);
try {
$this->whitelistRepository->createEntry(
null,
$data['label'],
$route,
$data['strategy'] ?: 'default',
);
} catch (\Exception $e) {
// log here
}
}
}
}

0 comments on commit 6459236

Please sign in to comment.