context: Lower severity of warning if USB fails to initialise
This is unlikely to happen in a real world scenario and currently breaks running the CI test (not the umockdev based ones) while building the flatpak. Lower the severity to avoid aborting because there is a warning.
This commit is contained in:
parent
596d22a449
commit
5d0481b031
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ fp_context_init (FpContext *self)
|
||||||
priv->usb_ctx = g_usb_context_new (&error);
|
priv->usb_ctx = g_usb_context_new (&error);
|
||||||
if (!priv->usb_ctx)
|
if (!priv->usb_ctx)
|
||||||
{
|
{
|
||||||
fp_warn ("Could not initialise USB Subsystem: %s", error->message);
|
g_message ("Could not initialise USB Subsystem: %s", error->message);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue