Skip to content

Commit ac6b835

Browse files
authored
log warning if get_plugin_checksums fails (#105)
1 parent 1a44dfb commit ac6b835

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Checksum_Plugin_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public function __invoke( $args, $assoc_args ) {
101101
try {
102102
$checksums = $wp_org_api->get_plugin_checksums( $plugin->name, $version );
103103
} catch ( Exception $exception ) {
104+
WP_CLI::warning( $exception->getMessage() );
104105
$checksums = false;
105106
}
106107

0 commit comments

Comments
 (0)