We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6016d77 commit f302a5dCopy full SHA for f302a5d
backend/app/Modules/Nfce/Exceptions/EmptyProductDataException.php
@@ -3,6 +3,7 @@
3
namespace App\Modules\Nfce\Exceptions;
4
5
use App\Modules\_Shared\Exceptions\HttpExceptions\BadRequestException;
6
+use Illuminate\Support\Facades\Log;
7
8
class EmptyProductDataException extends BadRequestException
9
{
@@ -13,6 +14,7 @@ public function __construct()
13
14
15
public static function throwIfEmpty(array $array): void
16
17
+ Log::error('Empty product data. Data: ' . json_encode($array));
18
if (empty($array)) {
19
throw new self();
20
}
0 commit comments