Browse Source

Added missing exception.

Thorsten Eckel 9 years ago
parent
commit
c954abcc37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/import/otrs.rb

+ 1 - 1
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