The Crime Does Not Pay series of shorts from MGM were exceptionally made and highly entertaining films. However, the quality began to slip a bit during the war, as instead of entertaining, the films seem more concerned with preaching to the audiences about Americanism, spies and the like. While the US wouldn't enter WWII for two more years, you can clearly see in "While America Sleeps" that the film is preparing for that eventuality--even though no nations or nationalities are mentioned. It seemed clear to me that the filmmakers were worried about Nazi aggression but since the studios were compelled by laws (ridiculous ones at that) to remain neutral.
This film stars Dick Purcell--the same guy who later gained fame in serials playing the first Captain America. However, in this case, he's a jerk who hates America--or at least he's too selfish to care. He works for an aircraft manufacturer and is illegally photographing plans and sending them on to 'the enemy'. Naturally he's caught but instead of arresting him, government agents set a trap--ultimately proving that crime, particularly treason, does not pay.
There isn't a whole lot of subtlety to this one. It's preachy and brow-beats the audience--which is exactly what the series hadn't been doing up until this one. Unfortunately, as the war progressed, more and more of these films would be devoted to similar topics--forgetting their original style and purpose. Fair at best.