Improved error message on missing handlers

closes #502