mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Improved logging, improved link check
This commit is contained in:
parent
ecf0b67d9d
commit
f3452d86c4
2 changed files with 3 additions and 2 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Model\Post;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\Proxy;
|
||||
|
@ -40,7 +41,7 @@ class Link
|
|||
}
|
||||
|
||||
if (!in_array(parse_url($url, PHP_URL_SCHEME), ['http', 'https'])) {
|
||||
Logger::info('Bad URL, quitting', ['uri-id' => $uri_id, 'url' => $url]);
|
||||
Logger::info('Bad URL, quitting', ['uri-id' => $uri_id, 'url' => $url, 'callstack' => System::callstack(20)]);
|
||||
return $url;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue