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:
parent
c17e5b3bc3
commit
2fde6944e3
|
@ -53,7 +53,7 @@ module ImportScripts::PhpBB3
|
||||||
def bbcode_to_md(text)
|
def bbcode_to_md(text)
|
||||||
begin
|
begin
|
||||||
text.bbcode_to_md(false)
|
text.bbcode_to_md(false)
|
||||||
rescue e
|
rescue => e
|
||||||
puts "Problem converting \n#{text}\n using ruby-bbcode-to-md"
|
puts "Problem converting \n#{text}\n using ruby-bbcode-to-md"
|
||||||
text
|
text
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue