changeset 29170:3ec3e0a5b69e

maint: merge stable to default
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Thu, 10 Dec 2020 23:35:06 +0100
parents 8a2449d40f3c (current diff) 3d6a6faa9225 (diff)
children 254ee9af5014
files libinterp/corefcn/graphics.cc
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc	Wed Dec 09 19:17:10 2020 -0800
+++ b/libinterp/corefcn/graphics.cc	Thu Dec 10 23:35:06 2020 +0100
@@ -13234,8 +13234,8 @@
     }
   catch (octave::execution_exception& ee)
     {
-      error (ee, "__go_%s__: unable to create graphics handle",
-             go_name.c_str ());
+      error (ee, "__go_%s__: %s, unable to create graphics handle",
+             go_name.c_str (), ee.message ().c_str ());
     }
 
   try
@@ -13245,8 +13245,8 @@
   catch (octave::execution_exception& ee)
     {
       delete_graphics_object (h);
-      error (ee, "__go_%s__: unable to create graphics handle",
-             go_name.c_str ());
+      error (ee, "__go_%s__: %s, unable to create graphics handle",
+             go_name.c_str (), ee.message ().c_str ());
     }
 
   adopt (parent, h);