Skip to content

Commit

Permalink
errorlog
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Oct 22, 2024
1 parent a2824cc commit fcf3c1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public function retrieve_feed( User_Feed $user_feed ) {
return $error;
}
try {
error_log($user_feed->get_private_url());

Check warning on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

error_log() found. Debug code should not normally be used in production.

Check failure on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

Expected 1 spaces after opening parenthesis; 0 found

Check failure on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

Expected 1 spaces before closing parenthesis; 0 found

Check warning on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

error_log() found. Debug code should not normally be used in production.

Check failure on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

Expected 1 spaces after opening parenthesis; 0 found

Check failure on line 232 in includes/class-feed.php

View workflow job for this annotation

GitHub Actions / Basic CS and QA checks

Expected 1 spaces before closing parenthesis; 0 found
$items = $this->parsers[ $parser ]->fetch_feed( $user_feed->get_private_url(), $user_feed );
} catch ( \Exception $e ) {
$items = new \WP_Error( $parser . '-failed', $e->getMessage() );
Expand Down

0 comments on commit fcf3c1f

Please sign in to comment.