It means to accept the consequences of your actions or omissions. If you don't do your homework you will 'face the music' from your teacher. So your second explanation is correct. It has no ther meaning I am aware of.
Your first suggestion is 'To put a brave face on'; To face adversity without showing your emotions
Student or Learner