Fix missing import (re: #41)

Issue #41 was caused by a 500 being encountered, which still isn't the
correct behavior, but this gets the 500 handler working correctly.