diff --git a/jawn-core/src/main/java/net/javapla/jawn/core/FrameworkBootstrap.java b/jawn-core/src/main/java/net/javapla/jawn/core/FrameworkBootstrap.java
index <HASH>..<HASH> 100644
--- a/jawn-core/src/main/java/net/javapla/jawn/core/FrameworkBootstrap.java
+++ b/jawn-core/src/main/java/net/javapla/jawn/core/FrameworkBootstrap.java
@@ -291,9 +291,8 @@ public class FrameworkBootstrap {
                 } catch (Exception e) {
                     logger.debug("Error reading custom configuration. Going with built in defaults. The error was: " + getCauseMessage(e));
                 }
-                
-                return all;
             }
+            return all;
         } else {
             logger.debug("Did not find custom configuration for {}. Going with built in defaults ", clazz);
         }
looking for modules were exiting too early