Adding errors managing - still a bug

Bug : save function -> error not succes