Skip to content

Commit

Permalink
Merge pull request #13695 from marcusmoore/bug/sc-23795-to-master
Browse files Browse the repository at this point in the history
Log non-compliant barcode error as debug message
  • Loading branch information
snipe authored Oct 2, 2023
2 parents 4e67644 + a5fd218 commit 8384786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Labels/Label.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public final function write1DBarcode(TCPDF $pdf, $value, $type, $x, $y, $width,
try {
$pdf->write1DBarcode($value, $type, $x, $y, $width, $height, null, ['stretch'=>true]);
} catch (\Exception|TypeError $e) {
\Log::error('The 1D barcode ' . $value . ' is not compliant with the barcode type '. $type);
\Log::debug('The 1D barcode ' . $value . ' is not compliant with the barcode type '. $type);
}
}

Expand Down

0 comments on commit 8384786

Please sign in to comment.