Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Replace exception.printStacktrace with write to log."
[controller.git]
/
opendaylight
/
switchmanager
/
implementation
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
switchmanager
/
internal
/
SwitchManager.java
diff --git
a/opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java
b/opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java
index 1390f94b494c423198abde7736b4e77f965046d0..d82c9967425839dcc1fbd10efe74120c03efd03f 100644
(file)
--- a/
opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java
+++ b/
opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java
@@
-1382,7
+1382,7
@@
public class SwitchManager implements ISwitchManager, IConfigurationContainerAwa
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
-
e.printStackTrace(
);
+
log.error("An error occured",e
);
}
}
}
}
}
}
@@
-1444,7
+1444,7
@@
public class SwitchManager implements ISwitchManager, IConfigurationContainerAwa
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
-
e.printStackTrace(
);
+
log.error("An error occured",e
);
}
}
map.remove(name.getValue());
}
}
map.remove(name.getValue());
@@
-1481,7
+1481,7
@@
public class SwitchManager implements ISwitchManager, IConfigurationContainerAwa
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
try {
map.put(s, new NodeConnector(entry.getValue()));
} catch (ConstructionException e) {
-
e.printStackTrace(
);
+
log.error("An error occured",e
);
}
}
map.remove(name.getValue());
}
}
map.remove(name.getValue());