"print_r" in logging replaced / obsolete stuff removed

This commit is contained in:
Michael 2020-06-29 20:22:00 +00:00
parent 9a47e51115
commit c947b7f211
19 changed files with 43 additions and 81 deletions

View file

@ -393,7 +393,7 @@ class Crypto
// log the offending call so we can track it down
if (!openssl_public_encrypt($key, $k, $pubkey)) {
$x = debug_backtrace();
Logger::log('RSA failed. ' . print_r($x[0], true));
Logger::notice('RSA failed', ['trace' => $x[0]]);
}
$result['alg'] = $alg;