Skip to content

A free open source IT asset/license management system

remove another logger

Godfrey M623c92df037c
diff --git a/app/Http/Requests/CustomLabelRequest.php b/app/Http/Requests/CustomLabelRequest.php
index 20bca3e4a4..6d5693d0cd 100644
--- a/app/Http/Requests/CustomLabelRequest.php
+++ b/app/Http/Requests/CustomLabelRequest.php
@@ -56,15 +56,4 @@ class CustomLabelRequest extends FormRequest
'label' => ['required', 'array'],
] + LabelGeometryRules::sheet();
}
-
- protected function failedValidation(Validator $validator)
- {
- logger()->debug('Custom label validation failed', [
- 'errors' => $validator->errors()->toArray(),
- 'type' => $this->input('type'),
- 'submitted_alignment' => $this->input('content.barcode2D_h_align'),
- ]);
-
- throw new ValidationException($validator);
- }
}
\ No newline at end of file