Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.6:Update
wireplumber
0001-lua-json-fix-error-ouput.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-lua-json-fix-error-ouput.patch of Package wireplumber
From 709eecb21f30a157b9a4aa8ab45a4c1ec608d628 Mon Sep 17 00:00:00 2001 From: Stefan Ursella <stefan.ursella@wolfvision.net> Date: Fri, 26 Apr 2024 07:27:31 +0200 Subject: [PATCH] lua: json: fix error ouput --- modules/module-lua-scripting/api/json.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/module-lua-scripting/api/json.c b/modules/module-lua-scripting/api/json.c index 242f0e410..5afa5c914 100644 --- a/modules/module-lua-scripting/api/json.c +++ b/modules/module-lua-scripting/api/json.c @@ -281,7 +281,7 @@ spa_json_array_new (lua_State *L) break; } default: - luaL_error (L, "Json does not support lua type ", + luaL_error (L, "Json does not support lua type %s", lua_typename(L, lua_type(L, -1))); break; } @@ -327,7 +327,7 @@ spa_json_object_new (lua_State *L) break; } default: - luaL_error (L, "Json does not support lua type ", + luaL_error (L, "Json does not support lua type %s", lua_typename(L, lua_type(L, -1))); break; } -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor