diff --git a/crates/service/web/storyteller_web/src/http_server/endpoints/moderation/alerts/moderation_send_alert_handler.rs b/crates/service/web/storyteller_web/src/http_server/endpoints/moderation/alerts/moderation_send_alert_handler.rs index 315bee8bfe..08d526684e 100644 --- a/crates/service/web/storyteller_web/src/http_server/endpoints/moderation/alerts/moderation_send_alert_handler.rs +++ b/crates/service/web/storyteller_web/src/http_server/endpoints/moderation/alerts/moderation_send_alert_handler.rs @@ -77,7 +77,7 @@ pub async fn moderation_send_alert_handler( .enqueue_page(notification) .map_err(|err| { warn!("moderation_send_alert error: {:?}", err); - AdvancedCommonWebError::server_error_with_message("Failed to enqueue alert") + AdvancedCommonWebError::from_error(err) })?; // Insert staff audit log.