Skip to content

Commit

Permalink
log warning if get_plugin_checksums fails (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
semseysandor committed May 17, 2023
1 parent 1a44dfb commit ac6b835
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Checksum_Plugin_Command.php
Expand Up @@ -101,6 +101,7 @@ public function __invoke( $args, $assoc_args ) {
try {
$checksums = $wp_org_api->get_plugin_checksums( $plugin->name, $version );
} catch ( Exception $exception ) {
WP_CLI::warning( $exception->getMessage() );
$checksums = false;
}

Expand Down

0 comments on commit ac6b835

Please sign in to comment.