changed logging level when logging update exceptions

Former-commit-id: bb69814afc4a335342366fd5eaa4243cf8923f13
This commit is contained in:
Jeremy Long
2013-04-23 21:35:23 -04:00
parent 43e1ee3e67
commit 24d5616c45

View File

@@ -232,14 +232,14 @@ public class Engine {
try { try {
a.close(); a.close();
} catch (Exception ex) { } catch (Exception ex) {
Logger.getLogger(Engine.class.getName()).log(Level.SEVERE, null, ex); Logger.getLogger(Engine.class.getName()).log(Level.WARNING, null, ex);
} }
} }
} }
} }
/** /**
* * Cycles through the cached web data sources and calls update on all of them.
*/ */
private void doUpdates() { private void doUpdates() {
final UpdateService service = UpdateService.getInstance(); final UpdateService service = UpdateService.getInstance();
@@ -249,7 +249,7 @@ public class Engine {
try { try {
source.update(); source.update();
} catch (UpdateException ex) { } catch (UpdateException ex) {
Logger.getLogger(Engine.class.getName()).log(Level.SEVERE, Logger.getLogger(Engine.class.getName()).log(Level.WARNING,
"Unable to update " + source.getClass().getName(), ex); "Unable to update " + source.getClass().getName(), ex);
} }
} }