Return network match failure in error message instead of logging
This commit is contained in:
parent
272951d39b
commit
119be35a79
|
@ -2953,7 +2953,7 @@ class Contact
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($network != '') && ($ret['network'] != $network)) {
|
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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user