Fixed an odd issue.

Evidently three exceptions weren't getting the variable they needed to
save to the error log. How were these not throwing an error before?