Added show-error directive to events