Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 8, 2023
1 parent 6f44bae commit ed451b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Services/QrCodeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ed451b1

Please sign in to comment.