Finish: Phase 33 — Alert Quality Analytics
This commit is contained in:
@@ -176,7 +176,7 @@ public class AlertService : IAlertService
|
||||
throw new NotFoundException("Alert not found.", "ALERT_NOT_FOUND");
|
||||
|
||||
if (alert.Status == AlertStatus.Open)
|
||||
throw new ValidationException(
|
||||
throw new BadRequestException(
|
||||
"Feedback can only be submitted on acknowledged or resolved alerts.",
|
||||
"ALERT_NOT_REVIEWABLE");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user