No, this is not an error. Line 1 on the 1040 has all your earned income (wages, etc.), both foreign and domestic.
If you qualify for the foreign earned income exclusion, the exclusion will be backed out on line 8 of Schedule 1 (1040).
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"