print the caught error instead of raising an error