Asteroid impacts earth, NASA stayed silent?

Would our government warn us of an asteroid?