Skip to content

Commit

Permalink
fix: 슬랙 알림은 운영 서버에 관해서만 가게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minsu20 committed Jan 5, 2024
1 parent 776d399 commit 66217ff
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
import com.moing.backend.global.config.slack.exception.dto.ExceptionEvent;
import com.moing.backend.global.config.slack.util.WebhookUtil;
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Profile;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@RequiredArgsConstructor
@Component
@Profile("prod")
public class ExceptionEventHandler {

private final WebhookUtil webhookUtil;
Expand Down

0 comments on commit 66217ff

Please sign in to comment.