add option to ignore errors and print an error report in that case
use Sys.println instead of trace