Improved the log about mishandling of events.

This will help and have better return for #226.