diff --git a/rule-loader/src/main/java/com/networknt/rule/RuleLoaderStartupHook.java b/rule-loader/src/main/java/com/networknt/rule/RuleLoaderStartupHook.java
index <HASH>..<HASH> 100644
--- a/rule-loader/src/main/java/com/networknt/rule/RuleLoaderStartupHook.java
+++ b/rule-loader/src/main/java/com/networknt/rule/RuleLoaderStartupHook.java
@@ -79,7 +79,7 @@ public class RuleLoaderStartupHook implements StartupHookProvider {
                 rules = RuleMapper.string2RuleMap(ruleString);
                 if(logger.isInfoEnabled()) logger.info("Load YAML rules with size = " + rules.size());
             } else {
-                logger.error("Could not load rule for serviceId = " + serverConfig.getServiceId());
+                logger.error("Could not load rule for serviceId = " + serverConfig.getServiceId() + " error = " + result.getError());
             }
         } else {
             if(logger.isInfoEnabled()) logger.info("Rule Loader is not enabled and skipped loading rules from the portal.");
fixes #<I> output the status in log if get service from portal fails (#<I>)