✨ Ajoute le parser Orpi
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App;
|
||||
|
||||
use App\Exceptions\UnknownParser;
|
||||
use GuzzleHttp\Client;
|
||||
use Illuminate\Support\Facades\Config;
|
||||
|
||||
@@ -36,7 +37,11 @@ abstract class Parser
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
throw new UnknownParser(sprintf(
|
||||
'Can\'t find an url in «%s» file with the following URL «%s». Please update the file accordingly.',
|
||||
'parser.php',
|
||||
$url
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user