gdm: Include the failed service name when in reporting errors

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1622>
This commit is contained in:
Marco Trevisan (Treviño) 2021-02-02 16:40:24 +01:00 committed by Marge Bot
parent 36fba1a184
commit ca912f55cc

View File

@ -507,8 +507,8 @@ var ShellUserVerifier = class {
return;
}
this._reportInitError(this._userName
? 'Failed to start verification for user'
: 'Failed to start verification', e);
? 'Failed to start %s verification for user'.format(serviceName)
: 'Failed to start %s verification'.format(serviceName), e);
return;
}
this._hold.release();