implementing error catching for import_csv

Signed-off-by: noahg <noah.gunther@gmail.com>