Skip to content
Snippets Groups Projects
Commit f1200a65 authored by Karl's avatar Karl
Browse files

Allesklar und Bing überprüft

parent cf21fe1c
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment