Removed the error message

The error message is showing up, no matter the condition. So I removed
it.