diff --git a/lib/import/otrs.rb b/lib/import/otrs.rb index d655deda2..fa66476f7 100644 --- a/lib/import/otrs.rb +++ b/lib/import/otrs.rb @@ -304,7 +304,7 @@ module Import::OTRS result = request_json({}) if !result['Success'] - 'API key not valid!' + fail 'API key not valid!' end # set settings