Skip to content

Commit

Permalink
Shift/remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
FletcherAU committed Dec 12, 2024
1 parent ba34193 commit 26a3079
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions slack_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,6 @@ def handle_link_unfurls(body):
"image_url"
] = "https://replicate.delivery/pbxt/JF3foGR90vm9BXSEXNaYkaeVKHYbJPinmpbMFvRtlDpH4MMk/out-0-1.png"

pprint(final_info)

try:
app.client.chat_unfurl(
source=body["event"]["source"],
Expand All @@ -392,6 +390,7 @@ def handle_link_unfurls(body):
except SlackApiError as e:
logger.error(f"Failed to unfurl links: {e.response['error']}")
logger.error(e.response["response_metadata"]["messages"])
pprint(final_info)


# Command listener for form selection
Expand Down
1 change: 0 additions & 1 deletion util/taiga_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def get_info_from_url(url: str, taiga_auth_token: str, taiga_cache: dict, config
return None, None, None
elif len(parts) < 3:
return None, None, None
pprint(parts)

project_slug = parts[1]
item_type = parts[2]
Expand Down

0 comments on commit 26a3079

Please sign in to comment.