mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 16:14:18 -08:00
Log non-compliant barcode error as debug message
This commit is contained in:
parent
4e6764428e
commit
a5fd218c23
|
@ -374,7 +374,7 @@ abstract class Label
|
||||||
try {
|
try {
|
||||||
$pdf->write1DBarcode($value, $type, $x, $y, $width, $height, null, ['stretch'=>true]);
|
$pdf->write1DBarcode($value, $type, $x, $y, $width, $height, null, ['stretch'=>true]);
|
||||||
} catch (\Exception|TypeError $e) {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue