mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
fix: php notice
Fixes: Notice: Undefined variable: message in /home/rssbridge/public/lib/contents.php on line 39
This commit is contained in:
parent
f34e09e93b
commit
b6d1c7a58f
1 changed files with 1 additions and 3 deletions
|
@ -36,12 +36,10 @@ class GetContentsException extends \Exception {
|
|||
**/
|
||||
class CloudflareChallengeException extends \Exception {
|
||||
public function __construct($code = 0, Throwable $previous = null) {
|
||||
if (!$message) {
|
||||
$message = <<<EOD
|
||||
$message = <<<EOD
|
||||
The server responded with a Cloudflare challenge, which is not supported by RSS-Bridge!
|
||||
If this error persists longer than a week, please consider opening an issue on GitHub!
|
||||
EOD;
|
||||
}
|
||||
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue