Unmapped errors are logged with log-level WARN
authorKai Moritz <kai@jupl.de>
Fri, 22 Nov 2019 07:20:04 +0000 (08:20 +0100)
committerKai Moritz <kai@jupl.de>
Fri, 22 Nov 2019 07:20:04 +0000 (08:20 +0100)
src/main/java/de/juplo/facebook/errors/GraphApiException.java

index 710d662..3e73807 100644 (file)
@@ -211,7 +211,7 @@ public class GraphApiException extends RuntimeException
 
       default:
         GraphApiException e = new UnmappedErrorException(status, headers, error);
-        LOG.info("unmapped error: {}", e.toString());
+        LOG.warn("unmapped error: {}", e.toString());
         return e;
     }
   }