From 2fde6944e3723adce0084f6076b0805122f81e8a Mon Sep 17 00:00:00 2001 From: "m.b" Date: Fri, 19 Aug 2016 13:18:27 +0200 Subject: [PATCH] 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 --- script/import_scripts/phpbb3/support/text_processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/phpbb3/support/text_processor.rb b/script/import_scripts/phpbb3/support/text_processor.rb index 2873d10dff0..bcdb770fb2f 100644 --- a/script/import_scripts/phpbb3/support/text_processor.rb +++ b/script/import_scripts/phpbb3/support/text_processor.rb @@ -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