client: be consistent with error handling

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
client: syslog_rpc_get: update script to new layout

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>