lib/evertils/common/authentication.rb in evertils-common-0.3.4.1 vs lib/evertils/common/authentication.rb in evertils-common-0.3.5

- old
+ new

@@ -1,6 +1,6 @@ -require 'singleton' +require "singleton" module Evertils module Common class Authentication < Common::Generic include Singleton @@ -135,9 +135,12 @@ message = 'Operation denied because access to the corresponding object is prohibited in response to a take-down notice' when 19 minutes = (e.rateLimitDuration.to_i/60).to_i message = "You are rate limited! Wait #{minutes} minutes" end + + message += "\n- " + message += e.parameter unless e.parameter.nil? Notify.warning(message) exit(0) end end \ No newline at end of file