diff --git a/src/Services/QrCodeGenerator.php b/src/Services/QrCodeGenerator.php index 44e7bc1..199655c 100644 --- a/src/Services/QrCodeGenerator.php +++ b/src/Services/QrCodeGenerator.php @@ -39,8 +39,7 @@ public function generate(string $text, bool $asDataUri = false): string try { $result = $builder->build(); - } - catch (\Exception $e) { + } catch (\Exception $e) { $this->logger->error('[ianm/twofactor] Could not add logo to QR code: '.$e->getMessage()); $builder = $this->buildQrOptions($text); $result = $builder->build();