removed duplicate logging statement

This commit is contained in:
Ralf Teusner
2017-11-01 10:14:03 +01:00
parent dbd6db69b7
commit 08c7154708

View File

@ -39,7 +39,6 @@ class ProxyExercise < ActiveRecord::Base
Rails.logger.debug("find new matching exercise for user #{user.id}" )
matching_exercise =
begin
Rails.logger.debug("find new matching exercise for user #{user.id}" )
find_matching_exercise(user)
rescue => e #fallback
Rails.logger.error("finding matching exercise failed. Fall back to random exercise! Error: #{$!}" )