bug#24510
melhorias para verificar os erros ao gerar corrida dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@112233 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c2a35d4c3f
commit
d303370e89
|
@ -769,7 +769,7 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
}
|
||||
}
|
||||
|
||||
} catch (org.springframework.dao.DataIntegrityViolationException ex) {
|
||||
} catch (Exception ex) {
|
||||
log.error("", ex);
|
||||
}
|
||||
|
||||
|
@ -1300,7 +1300,7 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
log.info("commit bloco corridas");
|
||||
transactionManager.commit(status);
|
||||
status = transactionManager.getTransaction(def);
|
||||
} catch (Throwable ex) {
|
||||
} catch (Exception ex) {
|
||||
log.error("", ex);
|
||||
log.error(" Erro ao gerar corrida = " + esquemaCorrida.getNumCorrida() + " esquemaCorrida = " + esquemaCorrida.getEsquemacorridaId());
|
||||
transactionManager.rollback(status);
|
||||
|
|
Loading…
Reference in New Issue