Log event errors

Fixes #93