Now handles errors from coral reef