abort steam run on scraping errors
This commit is contained in:
parent
9f052b0e0d
commit
3ea482f41f
|
@ -70,6 +70,9 @@ class Steam extends Source {
|
|||
global $argv;
|
||||
if (isset($argv[2])) {
|
||||
$game = $this->page($argv[2]);
|
||||
if (!$game) {
|
||||
return;
|
||||
}
|
||||
$this->output .= $game->print();
|
||||
} else {
|
||||
$this->parse_tag("text-based");
|
||||
|
|
Reference in a new issue