diff libinterp/corefcn/error.cc @ 31578:3a2c354a52c2

maint: Merge stable to default.
author Arun Giridhar <arungiridhar@gmail.com>
date Mon, 28 Nov 2022 15:31:57 -0500
parents c09bd3c7905b 785ac0d19116
children dfa5d9c3ae72
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc	Mon Nov 28 10:50:54 2022 -0800
+++ b/libinterp/corefcn/error.cc	Mon Nov 28 15:31:57 2022 -0500
@@ -497,7 +497,7 @@
     std::string str_id = id ? id : "";
     std::string message = format_message (fmt, args);
 
-    throw_error ("usage", id, message);
+    throw_error ("usage", str_id, message);
   }
 
   void error_system::vwarning (const char *name, const char *id,