From 819bcb7f367f8d53b5cb5b4d6a4770a0f59a968e Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Thu, 29 Sep 2022 03:48:59 +0800 Subject: [PATCH] convert 1688 purchase orders to po --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 50c36cbe..5b7f93f5 100644 --- a/routes/web.php +++ b/routes/web.php @@ -389,8 +389,8 @@ Route::get('/1688/fix', function(){ $parser = new \Smalot\PdfParser\Parser(); try { $pdf = $parser->parseFile(Storage::disk('documents')->path($file->file->file_info->original->file)); - } catch (Exception $e){ - dd($file); + } catch (Exception $e) { + continue; } $text = $pdf->getText();