[DF-185] Changed assert nessage from warning to error