diff options
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/auth_source.rb | 2 | ||||
-rw-r--r-- | app/models/repository.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/auth_source.rb b/app/models/auth_source.rb index c622b1853..b4bf18f5e 100644 --- a/app/models/auth_source.rb +++ b/app/models/auth_source.rb @@ -19,7 +19,7 @@ # Generic exception for when the AuthSource can not be reached # (eg. can not connect to the LDAP) -class AuthSourceException < Exception; end +class AuthSourceException < StandardError; end class AuthSourceTimeoutException < AuthSourceException; end class AuthSource < ActiveRecord::Base diff --git a/app/models/repository.rb b/app/models/repository.rb index 4331ae21d..0284e1b29 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -17,7 +17,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class ScmFetchError < Exception; end +class ScmFetchError < StandardError; end class Repository < ActiveRecord::Base include Redmine::Ciphering |