logging errors with errorception