The check engine light typically takes five start/stop cycles to stop displaying. I'd do that first and then see if the fault appears again. If so, contact the dealer. If not, keep on riding.
It might have been a transitory problem and everything is now OK, or it might be a continuing issue that should be checked out.