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();