From c954abcc371a0d6163781dd928b11fd7cc7ec7de Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 4 Aug 2015 11:52:58 +0200 Subject: [PATCH] Added missing exception. --- lib/import/otrs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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