Skip to content

Commit 00f7eaa

Browse files
committed
gnome-ask-password-agent: log errors to stderr as well
When run as a service, it is useful to log to the journal as well.
1 parent 2046ece commit 00f7eaa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gnome-ask-password-agent.vala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ const OptionEntry entries[] = {
248248
};
249249

250250
void show_error(string e) {
251+
Posix.stderr.printf("%s\n", e);
251252
var m = new MessageDialog(null, 0, MessageType.ERROR, ButtonsType.CLOSE, "%s", e);
252253
m.run();
253254
m.destroy();

0 commit comments

Comments
 (0)