chiark / gitweb /
terminal: handle callback errors in sysview instead of propagating them
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 15:55:31 +0000 (17:55 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 22 Sep 2014 16:14:44 +0000 (18:14 +0200)
commited3a9f6a30958ef90a24bc60aec86493974101d3
treee34dc3535f9d591da0fae551a78781a792022a2f
parentf2a15d86ccd0729e1442f40679cd393417e1e177
terminal: handle callback errors in sysview instead of propagating them

We cannot sanely propagate error codes if we call into user-callbacks
multiple times for multiple objects. There is no way to merge those errors
or somehow propagate them.

However, we can just act similar to sd-event and print a log-message while
discarding the values. This way, we allow error-returns, but can properly
continue working on our objects.
src/libsystemd-terminal/sysview.c