changeset 1842:da286eb91c9b

Added a debug statement that prints out an exception. flys-artifacts/trunk@3179 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 08 Nov 2011 11:51:06 +0000
parents 90df645985d4
children a7e030efd50e
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Nov 08 11:50:08 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Nov 08 11:51:06 2011 +0000
@@ -1,3 +1,9 @@
+2011-11-08  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java:
+	  Added a log.warn() which prints out an exception - previously it was
+	  just skipped.
+
 2011-11-08  Ingo Weinzierl <ingo@intevation.de>
 
 	* doc/conf/meta-data.xml: Removed orphaned datacage configuration which is
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java	Tue Nov 08 11:50:08 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java	Tue Nov 08 11:51:06 2011 +0000
@@ -112,7 +112,9 @@
                     fs.add(facet);
                     facets.put(state.getID(), fs);
                 }
-                catch (Exception e) {}
+                catch (Exception e) {
+                    logger.warn(e, e);
+                }
             }
         }
 

http://dive4elements.wald.intevation.org