diff --git a/src/Plugin/ImageAPIOptimizeProcessor/TinyPng.php b/src/Plugin/ImageAPIOptimizeProcessor/TinyPng.php
index a5a775d..87e14f9 100644
--- a/src/Plugin/ImageAPIOptimizeProcessor/TinyPng.php
+++ b/src/Plugin/ImageAPIOptimizeProcessor/TinyPng.php
@@ -29,21 +29,26 @@ class TinyPng extends ConfigurableImageAPIOptimizeProcessorBase {
           return TRUE;
         }
       }
-    } catch(\Tinify\AccountException $e) {
-      $this->logger->error('TinyPNG - AccountException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+    }
+    catch(\Tinify\AccountException $e) {
       // Verify your API key and account limit.
-    } catch(\Tinify\ClientException $e) {
-      $this->logger->error('TinyPNG - ClientException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+      $this->logger->error('TinyPNG - AccountException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+    }
+    catch(\Tinify\ClientException $e) {
       // Check your source image and request options.
-    } catch(\Tinify\ServerException $e) {
-      $this->logger->error('TinyPNG - ConnectionException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+      $this->logger->error('TinyPNG - ClientException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+    }
+    catch(\Tinify\ServerException $e) {
       // Temporary issue with the Tinify API.
-    } catch(\Tinify\ConnectionException $e) {
       $this->logger->error('TinyPNG - ConnectionException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+    }
+    catch(\Tinify\ConnectionException $e) {
       // A network connection error occurred.
-    } catch(Exception $e) {
-      $this->logger->error('TinyPNG: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+      $this->logger->error('TinyPNG - ConnectionException: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
+    }
+    catch(\Exception $e) {
       // Something else went wrong, unrelated to the Tinify API.
+      $this->logger->error('TinyPNG: Failed to download optimize image using TinyPNG due to "%error".', array('%error' => $e->getMessage()));
     }
 
     return FALSE;
