summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-08-01 09:43:41 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-08-01 09:43:41 -0100
commitf149363bffbe228456935b39917e024d5fde21c5 (patch)
treee478eb10f6457a05eddb6adb7ad457e7fa1c4128
parent58f22f961da9a92604814dd3aa1e1f2529956d10 (diff)
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Service/TestService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/TestService.php b/lib/Service/TestService.php
index 758d9377..e96daf39 100644
--- a/lib/Service/TestService.php
+++ b/lib/Service/TestService.php
@@ -127,6 +127,7 @@ class TestService {
$tests->aObj('tests', $testWebfinger);
$testActorLink = new Test('actor-link', Test::SEVERITY_MANDATORY);
+ $link = [];
try {
$links = $this->getArray('links', $result);
$link = $this->extractArray('rel', 'self', $links);
@@ -175,7 +176,6 @@ class TestService {
$testActor->setSuccess(true);
$testActor->sObj('actor', $actor);
} catch (Exception $e) {
- echo $e->getTraceAsString();
$testActor->addMessage(get_class($e));
$testActor->addMessage($e->getMessage());
}