logando a exception no AMR