mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
Reworked error printing for non "200" code responses from Strava
This commit is contained in:
@@ -60,7 +60,6 @@ class WPStrava_API {
|
||||
return $response;
|
||||
|
||||
if ( $response['response']['code'] != 200 ) {
|
||||
die($url);
|
||||
//see if there's useful info in the body
|
||||
$body = json_decode( $response['body'] );
|
||||
$error = '';
|
||||
|
||||
Reference in New Issue
Block a user