Repository: incubator-edgent
Updated Branches:
  refs/heads/master 82dd45758 -> 2eb5897da


[Edgent-373] log exception info on edgentControl command request
failures

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/49e29544
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/49e29544
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/49e29544

Branch: refs/heads/master
Commit: 49e29544069cabd2a790d9b987f73948b18f5c1c
Parents: 66b6861
Author: Dale LaBossiere <[email protected]>
Authored: Wed Feb 1 14:55:01 2017 -0500
Committer: Dale LaBossiere <[email protected]>
Committed: Wed Feb 1 14:55:01 2017 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/edgent/providers/iot/IotProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/49e29544/providers/iot/src/main/java/org/apache/edgent/providers/iot/IotProvider.java
----------------------------------------------------------------------
diff --git 
a/providers/iot/src/main/java/org/apache/edgent/providers/iot/IotProvider.java 
b/providers/iot/src/main/java/org/apache/edgent/providers/iot/IotProvider.java
index 764bc7d..f2917d5 100644
--- 
a/providers/iot/src/main/java/org/apache/edgent/providers/iot/IotProvider.java
+++ 
b/providers/iot/src/main/java/org/apache/edgent/providers/iot/IotProvider.java
@@ -309,7 +309,7 @@ public class IotProvider implements TopologyProvider,
                 } catch (Exception re) {
                     // If the command fails then don't stop this application,
                     // just process the next command.
-                    
LoggerFactory.getLogger(ControlService.class).error("Control request failed: 
{}", cmd);
+                    
LoggerFactory.getLogger(ControlService.class).error("Control request failed: 
{}", cmd, re);
                 }
             });
         });

Reply via email to