mark as notok if an error was thrown