diff options
-rw-r--r-- | bugzilla.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzilla.rb b/bugzilla.rb index e2c6c7e..37a3aed 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -342,8 +342,8 @@ class BugzillaPlugin < Plugin end bug_error = bugxml.attribute("error").to_s if bug_error.length > 0 - # TODO: Create Exception classes for other error modes. - case bug_error.downcase + # TODO: Create Exception classes for other error modes. + case bug_error.downcase when "notpermitted" raise ENotPermitted.new(name, bugno) else |