mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:43:41 +00:00
Return network match failure in error message instead of logging
This commit is contained in:
parent
272951d39b
commit
119be35a79
1 changed files with 1 additions and 1 deletions
|
@ -2953,7 +2953,7 @@ class Contact
|
|||
}
|
||||
|
||||
if (($network != '') && ($ret['network'] != $network)) {
|
||||
Logger::notice('Expected network ' . $network . ' does not match actual network ' . $ret['network']);
|
||||
$result['message'] = DI::l10n()->t('Expected network %s does not match actual network %s', $network, $ret['network']);
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue