Commit 5c6ab173 authored by Karl's avatar Karl
Browse files

Allesklar und Bing überprüft

parent 19baec16
...@@ -46,8 +46,9 @@ class Allesklar extends Searchengine ...@@ -46,8 +46,9 @@ class Allesklar extends Searchengine
$this->gefVon, $this->gefVon,
$this->counter $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 ...@@ -15,20 +15,6 @@ class BASE extends Searchengine
public function loadResults($result) public function loadResults($result)
{ {
return;
$title = "";
$link = "";
$anzeigeLink = $link;
$descr = "";
/*$this->counter++;
$this->results[] = new \App\Models\Result(
$title,
$link,
$anzeigeLink,
$descr,
$this->gefVon,
$this->counter
);*/
} }
} }
...@@ -35,7 +35,8 @@ class Bing extends Searchengine ...@@ -35,7 +35,8 @@ class Bing extends Searchengine
$this->counter $this->counter
); );
}); });
} catch (\ErrorException $e) { } catch (\Exception $e) {
Log::error("A problem occurred parsing results from $this->name");
return; 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