log interactive
@@ -769,6 +769,11 @@ pub async fn handle_slack_commands(
pub async fn handle_slack_interactive(rqctx: Arc<RequestContext<Context>>, body_param: UntypedBody) -> Result<()> {
let s = String::from_utf8(body_param.as_bytes().to_vec())?;
+ sentry::capture_message(
+ &format!("slack interactive: {}", s.trim_start_matches("payload=")),
+ sentry::Level::Info,
+ );
+
// We should have a string, which we will then parse into our args.
// Parse the request body as a Slack InteractivePayload.
let payload: InteractivePayload = serde_urlencoded::from_str(s.trim_start_matches("payload="))?;
