print error instead of raising exception