Skip to content

Commit

Permalink
Get rid o' debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaimeson Waugh committed May 10, 2019
1 parent f0e76c3 commit 32ae291
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/WebpageLinksList.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ private function generateList() : void
}
catch ( \Unirest\Exception $e )
{
// Do nothing.
echo $uri;
// Do nothing on error.
}
}

Expand Down Expand Up @@ -91,15 +90,8 @@ private function tryURL( string $url, URI $host ) : void
$this->list_count++;
$this->generateListFromURL( $host, $response );
}
catch ( \Unirest\Exception $e )
{
// We should just ignore broken links & carry on.
return;
}
catch ( \Exception $e )
{
echo $e->getMessage();
var_dump( $url );
// We should just ignore broken links & carry on.
return;
}
Expand Down

0 comments on commit 32ae291

Please sign in to comment.