Commit d4960f4c9652f942aa431a92b92e7fa8b488a7bf

Authored by lanrion
1 parent f040fbfc
Exists in master

fixed typo

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
lib/qy_wechat_api.rb
... ... @@ -57,7 +57,7 @@ module QyWechatApi
57 57 elsif on_rails?
58 58 Rails.cache
59 59 else
60   - raise ConfigException, "You should appoint cache_store, e.g. Rails.cache or lookup ActiveSupport::Cache#lookup_store"
  60 + raise Errors::ConfigException, "You should appoint cache_store, e.g. Rails.cache or lookup ActiveSupport::Cache#lookup_store"
61 61 end
62 62 end
63 63  
... ... @@ -67,7 +67,7 @@ module QyWechatApi
67 67 elsif on_rails?
68 68 Rails.logger
69 69 else
70   - raise ConfigException, "You should appoint one logger, e.g. Rails.logger or lookup ActiveSupport::Logger"
  70 + raise Errors::ConfigException, "You should appoint one logger, e.g. Rails.logger or lookup ActiveSupport::Logger"
71 71 end
72 72 end
73 73  
... ...