trap err - print