mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 05:20:05 +01:00
lua: json: fix error ouput
This commit is contained in:
parent
fd7a1af7ff
commit
709eecb21f
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue