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 f7abe1d4de33847fd756f7518041595e1a5ea1d6..8878eb6222353ff25885f6c05ea6503bfaf78c83 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;
     }