mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
FIX: better handle errors in youtube onebox
This commit is contained in:
@ -26,7 +26,7 @@ def rebake_post(post,opts)
|
||||
# Extracts urls from the body
|
||||
TopicLink.extract_from post
|
||||
# make sure we trigger the post process
|
||||
post.trigger_post_process(bypass_bump: true)
|
||||
post.trigger_post_process(true)
|
||||
|
||||
rescue => e
|
||||
puts "\n\nFailed to bake topic_id #{post.topic_id} post_id #{post.id} #{e}\n#{e.backtrace.join("\n")} \n\n"
|
||||
|
Reference in New Issue
Block a user