mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Skip error fix https://github.com/firefly-iii/firefly-iii/issues/3559
This commit is contained in:
@@ -24,6 +24,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Support\System;
|
||||
|
||||
use FireflyIII\Exceptions\FireflyException;
|
||||
use Log;
|
||||
use Ramsey\Uuid\Uuid;
|
||||
|
||||
@@ -37,7 +38,12 @@ trait GeneratesInstallationId
|
||||
*/
|
||||
protected function generateInstallationId(): void
|
||||
{
|
||||
try {
|
||||
$config = app('fireflyconfig')->get('installation_id', null);
|
||||
} catch(FireflyException $e) {
|
||||
Log::info('Could not create or generate installation ID. Do not continue.');
|
||||
return;
|
||||
}
|
||||
|
||||
// delete if wrong UUID:
|
||||
if (null !== $config && 'b2c27d92-be90-5c10-8589-005df5b314e6' === $config->data) {
|
||||
|
Reference in New Issue
Block a user