Catch error when calling Import::move