Removed redundant endif.
Added catch all error handling for content full import.