Commit 5c6ab173 authored by Karl's avatar Karl

Allesklar und Bing überprüft

parent 19baec16
......@@ -46,8 +46,9 @@ class Allesklar extends Searchengine
$this->gefVon,
$this->counter
);
} catch (\InvalidArgumentException $e) {
} catch (\Exception $e) {
Log::error("A problem occurred parsing results from $this->name");
return;
}
});
}
......
......@@ -15,20 +15,6 @@ class BASE extends Searchengine
public function loadResults($result)
{
$title = "";
$link = "";
$anzeigeLink = $link;
$descr = "";
/*$this->counter++;
$this->results[] = new \App\Models\Result(
$title,
$link,
$anzeigeLink,
$descr,
$this->gefVon,
$this->counter
);*/
return;
}
}
......@@ -35,7 +35,8 @@ class Bing extends Searchengine
$this->counter
);
});
} catch (\ErrorException $e) {
} catch (\Exception $e) {
Log::error("A problem occurred parsing results from $this->name");
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment