mirror of
https://github.com/danog/dns-over-https.git
synced 2024-11-26 11:54:44 +01:00
ultraverbose logging
This commit is contained in:
parent
aa40bb7ddd
commit
785fddc040
@ -147,11 +147,11 @@ final class Rfc8484StubResolver implements Resolver
|
||||
if ($reason instanceof NoRecordException) {
|
||||
throw $reason;
|
||||
}
|
||||
$error = $reason->getMessage();
|
||||
$error = (string) $reason;//->getMessage();
|
||||
if ($reason instanceof MultiReasonException) {
|
||||
$reasons = [];
|
||||
foreach ($reason->getReasons() as $reason) {
|
||||
$reasons []= $reason->getMessage();
|
||||
$reasons []= (string) $reason;//->getMessage();
|
||||
}
|
||||
$error .= " (".\implode(", ", $reasons).")";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user