-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lillian
committed
Mar 27, 2024
1 parent
2dca908
commit 928b0fb
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/Crawler.php b/src/Crawler.php | ||
index 81e526ed..b3cc1baa 100755 | ||
--- a/src/Crawler.php | ||
+++ b/src/Crawler.php | ||
@@ -232,7 +232,7 @@ class Crawler { | ||
WsLog::l( $notice ); | ||
} | ||
}, | ||
- 'rejected' => function ( RequestException $reason, $index ) use ( $urls ) { | ||
+ 'rejected' => function ( $reason, $index ) use ( $urls ) { | ||
$root_relative_path = $urls[ $index ]['path']; | ||
WsLog::l( 'Failed ' . $root_relative_path ); | ||
}, |