mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Catch most exceptions.
This commit is contained in:
@@ -245,8 +245,7 @@ class NetWorth implements NetWorthInterface
|
||||
{
|
||||
$this->userGroup = $userGroup;
|
||||
$this->adminAccountRepository = app(AdminAccountRepositoryInterface::class);
|
||||
throw new FireflyException('uses old administration ID check, needs to be updated.A');
|
||||
$this->adminAccountRepository->setAdministrationId($userGroup->id);
|
||||
$this->adminAccountRepository->setUserGroup($userGroup);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user