From b67feb98cd2114abaf77bd02e2d8e58d09cdac8d Mon Sep 17 00:00:00 2001 From: Justin Foell <630830+jrfoell@users.noreply.github.com> Date: Fri, 24 Sep 2021 13:34:27 -0500 Subject: [PATCH] Formatting --- src/WPStrava/Auth.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/WPStrava/Auth.php b/src/WPStrava/Auth.php index f2d0d76..ce6838d 100644 --- a/src/WPStrava/Auth.php +++ b/src/WPStrava/Auth.php @@ -85,7 +85,6 @@ abstract class WPStrava_Auth { // Translators: New strava token add_settings_error( 'strava_token', 'strava_token', sprintf( __( 'New Strava token retrieved. %s', 'wp-strava' ), $this->feedback ), 'updated' ); } else { - // throw new WPStrava_Exception( '' ); add_settings_error( 'strava_token', 'strava_token', $this->feedback ); } } elseif ( isset( $_GET['error'] ) ) {