mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-04-21 02:00:38 +02:00
daemon: exit with WP_EXIT_CONFIG code if a component fails to load
This should be considered a configuration error: the user has specified some component in the config file that cannot be loaded. Changing the configuration file should fix it.
This commit is contained in:
parent
65c94c71fd
commit
0fed249eb9
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ on_plugin_loaded (WpCore *core, GAsyncResult *res, gpointer data)
|
|||
}
|
||||
|
||||
wp_transition_return_error (WP_TRANSITION (self), g_error_new (
|
||||
WP_DOMAIN_DAEMON, WP_EXIT_SOFTWARE,
|
||||
WP_DOMAIN_DAEMON, WP_EXIT_CONFIG,
|
||||
"failed to activate component '%s': %s", self->curr_component->name,
|
||||
error->message));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue