mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Some more changed log levels
This commit is contained in:
parent
757a5c2de9
commit
f7b85092b0
14 changed files with 30 additions and 24 deletions
|
@ -678,14 +678,14 @@ function photos_post(App $a)
|
|||
return;
|
||||
}
|
||||
|
||||
Logger::info('loading the contents of ' . $src);
|
||||
Logger::debug('loading contents', ['src' => $src]);
|
||||
|
||||
$imagedata = @file_get_contents($src);
|
||||
|
||||
$image = new Image($imagedata, $type);
|
||||
|
||||
if (!$image->isValid()) {
|
||||
Logger::info('unable to process image');
|
||||
Logger::notice('unable to process image');
|
||||
notice(DI::l10n()->t('Unable to process image.'));
|
||||
@unlink($src);
|
||||
$foo = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue