From e943aae6c230dadd2fe55cf7c3e413d91cbd3308 Mon Sep 17 00:00:00 2001
From: Alan De Smet <alan.desmet@ssec.wisc.edu>
Date: Wed, 5 Sep 2018 11:40:18 -0500
Subject: [PATCH] More info when plotting fails.

---
 pyglance/glance/plot.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyglance/glance/plot.py b/pyglance/glance/plot.py
index a5cb8ca..7b84b3f 100644
--- a/pyglance/glance/plot.py
+++ b/pyglance/glance/plot.py
@@ -74,7 +74,7 @@ def _handle_fig_creation_task(child_figure_function, log_message,
             plt.close(figure)
             del(figure)
         else:
-            LOG.warn("Unable to create plot.")
+            LOG.warn("Unable to create plot {0} ({1}).".format(fullFigName, log_message))
     
     # if we've reached this point and we did fork,
     # then we're the child process and we should stop now
-- 
GitLab