From a5fd218c23765112fa144b5fa7f7bbe3a3c03dc9 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 2 Oct 2023 12:06:24 -0700 Subject: [PATCH] Log non-compliant barcode error as debug message --- app/Models/Labels/Label.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Labels/Label.php b/app/Models/Labels/Label.php index 69f67f6760..b727c1cb18 100644 --- a/app/Models/Labels/Label.php +++ b/app/Models/Labels/Label.php @@ -374,7 +374,7 @@ abstract class Label 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); } }