Index: /controller/wpsg_SystemController.class.php
===================================================================
--- /controller/wpsg_SystemController.class.php	(revision 8457)
+++ /controller/wpsg_SystemController.class.php	(revision 8458)
@@ -160,9 +160,11 @@
 
             }
-
+			
 			$result = \wp_remote_post($url, $arOptions);
 
             if (is_object($result) && get_class($result) == 'WP_Error') {
-
+				
+				//die(var_dump($result));
+				
                 throw new \Exception($result->get_error_message().':'.$url);
 
Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 8457)
+++ /lib/filter_functions.inc.php	(revision 8458)
@@ -398,5 +398,5 @@
     function wpsg_api_call($func, $arParam = array(), $key = false) {
 
-        if (wpsg_ShopController::getShop()->api_broken) return false;
+        if (wpsg_ShopController::getShop()->api_broken === true) return false;
 
         $plugin_data = get_plugin_data(dirname(__FILE__).'/../wpshopgermany.php');
@@ -405,5 +405,5 @@
 
         try {
-                        
+			
             $api_return = $GLOBALS['wpsg_sc']->get_url_post_content('https://api.maennchen1.de/', array(
                 'f' => $func,
@@ -413,11 +413,14 @@
                 'host' => $_SERVER['HTTP_HOST'],
                 'data' => $arParam
-            ), 5); 
+            ), 3);
                            
         } catch (\Exception $e) {
 
             wpsg_ShopController::getShop()->api_broken = true;
-
-            throw $e;
+			wpsg_ShopController::getShop()->addBackendError(__('Lizenz API reagiert nicht.', 'wpsg'));
+
+			return false;
+			
+            // throw $e;
 
         }
Index: /model/wpsg_news.class.php
===================================================================
--- /model/wpsg_news.class.php	(revision 8457)
+++ /model/wpsg_news.class.php	(revision 8458)
@@ -56,5 +56,5 @@
                     $xml = new SimpleXMLElement($GLOBALS['wpsg_sc']->get_url_content(self::$rss_url));
 
-                } catch (\wpsg\Exception $e) {
+                } catch (\Exception $e) {
 
                     $GLOBALS['wpsg_sc']->update_option('wpsg_lastapifail', strval(time()), true, false, WPSG_SANITIZE_INT);
