[pan: 15/15] shouldn't happen so log error




commit 8be55239709c14ae8148f90ac089030e6bb20868
Author: Thomas Tanner <thosrtanner googlemail com>
Date:   Sun Jun 12 07:13:15 2022 +0100

    shouldn't happen so log error

 pan/gui/post-ui.cc | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pan/gui/post-ui.cc b/pan/gui/post-ui.cc
index 6cd9902..68bad77 100644
--- a/pan/gui/post-ui.cc
+++ b/pan/gui/post-ui.cc
@@ -1362,6 +1362,7 @@ PostUI :: spawn_editor ()
 
   FILE *fp = fopen (fname, "w");
   if (fp == NULL) {
+    Log::add_err_va (_("Error creating temporary file: %s"), g_strerror(errno));
     return;
   }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]