From 99649990ba027c6fab4ee3a5d7c9ab1f93a0d492 Mon Sep 17 00:00:00 2001 From: emerson Date: Thu, 13 Jun 2019 17:37:30 +0000 Subject: [PATCH] =?UTF-8?q?fixes=20bug#0014278=20dev:=20thiago=20qua:=20wa?= =?UTF-8?q?llysson=20Implementa=C3=A7=C3=A3o=20efetuada.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@94575 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../EventListenerOnClickContingenciaBotaoContingencia.java | 4 ++-- web/gui/seguridad/agreementContingencia.zul | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/seguridad/contingencia/EventListenerOnClickContingenciaBotaoContingencia.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/seguridad/contingencia/EventListenerOnClickContingenciaBotaoContingencia.java index 2275e38e4..340f8f508 100644 --- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/seguridad/contingencia/EventListenerOnClickContingenciaBotaoContingencia.java +++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/seguridad/contingencia/EventListenerOnClickContingenciaBotaoContingencia.java @@ -53,8 +53,8 @@ public class EventListenerOnClickContingenciaBotaoContingencia implements EventL MensagensUtils.showMessageInformation("Status alterado com sucesso.", TITULO_CONTIGENCIA_CONTROLLER); getController().buscarHistoricoContigencia(); } catch (Exception e) { - log.error("Erro ao setar contingencia: " , e); - MensagensUtils.showMessageError("Ocorreu um erro ao setar a contingencia", TITULO_CONTIGENCIA_CONTROLLER); + log.error("Não foi possível alterar a contingencia: " , e); + MensagensUtils.showMessageError("Não foi possível alterar a contingencia: " + e.getMessage(), TITULO_CONTIGENCIA_CONTROLLER); } } diff --git a/web/gui/seguridad/agreementContingencia.zul b/web/gui/seguridad/agreementContingencia.zul index db0c8bc69..48e89b9a7 100644 --- a/web/gui/seguridad/agreementContingencia.zul +++ b/web/gui/seguridad/agreementContingencia.zul @@ -12,7 +12,7 @@