launch_daemon: log failed launch jobs.

This commit is contained in:
Axel Dörfler
2015-07-22 20:42:04 +02:00
parent 70d9734f25
commit 234f76a19c
+5 -1
View File
@@ -38,8 +38,12 @@ Worker::Process()
if (status != B_OK)
return status;
Run(job);
status = Run(job);
if (status != B_OK) {
// TODO: proper error reporting on failed job!
debug_printf("Launching %s failed: %s\n", job->Title().String(),
strerror(status));
}
}
}