mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 23:38:01 +02:00
device-info-cache: use Log.warning instead of Log.critical
Log.critical does not actually exist. When logging error, it will in fact throw an exception: [string "device-info-cache.lua"]:36: attempt to call a nil value (field 'critical') Change Log.critical to Log.warning to fix it.
This commit is contained in:
parent
3a785e5026
commit
1bde4f2cdf
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function module.get_device_info (self, device)
|
|||
if not dev_info then
|
||||
local device_name = device_properties ["device.name"]
|
||||
if not device_name then
|
||||
Log.critical (device, "invalid device.name")
|
||||
Log.warning (device, "invalid device.name")
|
||||
return nil
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue