make sure to return upon error properly so as not to cause any other random strange issues due to syslog problems