Fix spotbugs complaints around logging
[mdsal.git] / binding / maven-sal-api-gen-plugin / src / main / java / org / opendaylight / mdsal / binding / yang / unified / doc / generator / GeneratorImpl.xtend
index 188be43d8b7cde67329b2e8781c5a382dc03c9ef..2def6cb2a2cfcfa15ded860dbef66907ea4e5f8b 100644 (file)
@@ -99,7 +99,7 @@ class GeneratorImpl {
             bw.close();
             fw.close();
         } catch (IOException e) {
-            LOG.error(e.getMessage());
+            LOG.error("Failed to emit file {}", destination, e);
         }
         return destination;
     }