diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-06-28 07:12:21 -0400 |
---|---|---|
committer | Zbyszek Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-07-10 10:26:40 +0200 |
commit | 48a2295bb7578804bd8106c7425585479c28e03b (patch) | |
tree | e22adf89c00aadddffc4e918d40f2b025e512c6c /README.md | |
parent | d624e014bcdf6f5833f0b34118c651ae2c4581e2 (diff) | |
download | python-systemd-48a2295bb7578804bd8106c7425585479c28e03b.tar.gz |
Check the return value from sd_journal_sendv
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -33,7 +33,9 @@ Notes: first. * The base message is usually sent in the form MESSAGE=hello. The MESSAGE field is, however, not required. - * Invalid or zero arguments results in nothing recorded in journald. + * A ValueError is thrown is thrown if sd_journald_sendv() results in + an error. This might happen if there are no arguments or one of them + is invalid. Viewing Output ============== |