Commit 517431b0 authored by Noel Alonso's avatar Noel Alonso
Browse files

No descarta envío en test para testear el envío

En su lugar se envía el entorno para poder descartar
parent f19ba50f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ public class AlertService {
	public void errorAlert(String subject, String message) {

		if (PROFILE_ACTIVE.equals("test"))
			return;
			ALERT_EMAIL = "test@redmic.es";

		String subjectDefault = "[ERROR][" + PROFILE_ACTIVE + "] ";
		send(new Message(ALERT_EMAIL, subjectDefault + subject, message, AlertType.ERROR.name()));