Logs error messages and exception in getInitR