The following example gives a compile error:
\documentclass{exam}
\begin{document}
\begin{questions}
\section{Section 1}
Some descriptive text.
\question A really interesting question.
\section{Section 2}
\question Another really interesting question.
\end{questions}
\end{document}
However, compilation works fine after moving "Some descriptive text." to after the first question.
How can I get this to compile and still have a properly indented section header and descriptive text? Note that if I didn't care about consistent section header/text indentation I could just move them to before "\begin{questions}".
This question is relevant, but not the same: How to use section in exam class.