Skip to content

Commit

Permalink
remove error log
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Aug 21, 2024
1 parent 0e7f32b commit a83b10b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions includes/Services/InstaMigrateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ public function install_instawp_connect() {
);
$installer = new Installer( $params );
$response = $installer->start();
error_log(json_encode($response));

// do the return of error here
if ( $response && !$response[0]['success'] ){
return new \WP_Error(
'Bad request',
esc_html__( 'Plugin is not installed' ),
array( 'status' => 400 )
);
}
}

// Connect the website with InstaWP server
Expand Down

0 comments on commit a83b10b

Please sign in to comment.