Catching and reporting import errors