implementing error catching for csv_import

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