Updated an error message to properly reflect the error.