switched to an error for logging