Removing error logging