about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c
index 5874502..e846f72 100644
--- a/src/lua.c
+++ b/src/lua.c
@@ -334,7 +334,7 @@ static int handle_image (lua_State *L, char **argv, int n) {
   Image_name = argv[n];
   status = luaL_loadfile(L, Image_name);
   lua_insert(L, -(narg+1));
-  if (status != 0) return status;
+  if (status != 0) return report(L, status);  /* can't recover within teliva */
   status = docall(L, narg, 0);
   if (status != 0) return report(L, status);  /* can't recover within teliva */
   status = load_definitions(L);
='n71' href='#n71'>71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118