diff --git a/Kwf/Exception/Logger/LogFiles.php b/Kwf/Exception/Logger/LogFiles.php
index <HASH>..<HASH> 100644
--- a/Kwf/Exception/Logger/LogFiles.php
+++ b/Kwf/Exception/Logger/LogFiles.php
@@ -13,9 +13,11 @@ class Kwf_Exception_Logger_LogFiles extends Kwf_Exception_Logger_Abstract
             fclose($fp);
         } catch(Exception $e) {
             $to = array();
-            foreach (Kwf_Registry::get('config')->developers as $dev) {
-                if (isset($dev->sendException) && $dev->sendException) {
-                    $to[] = $dev->email;
+            if (Kwf_Registry::get('config')->developers) {
+                foreach (Kwf_Registry::get('config')->developers as $dev) {
+                    if (isset($dev->sendException) && $dev->sendException) {
+                        $to[] = $dev->email;
+                    }
                 }
             }
             if ($to) {
only send mail for tests if developers are set in config