Add missing fat arrow in bbcode_to_md method rescue block

Related to https://meta.discourse.org/t/undefined-local-variable-or-method-e-during-phpbb3-migration/48861
This commit is contained in:
m.b 2016-08-19 13:18:27 +02:00 committed by GitHub
parent c17e5b3bc3
commit 2fde6944e3
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ module ImportScripts::PhpBB3
def bbcode_to_md(text)
begin
text.bbcode_to_md(false)
rescue e
rescue => e
puts "Problem converting \n#{text}\n using ruby-bbcode-to-md"
text
end