diff options
| author | Alban Peignier | 2015-05-21 13:17:35 +0200 |
|---|---|---|
| committer | Alban Peignier | 2015-05-21 13:17:35 +0200 |
| commit | 5d28c8cf436ebce60bc4a02a5be84b957be58879 (patch) | |
| tree | c2f696d02599e94653b4699910c4585c68a084fc /app/controllers/clean_ups_controller.rb | |
| parent | f77f97682897b80b29b290d338d14fec1252f36f (diff) | |
| download | chouette-core-5d28c8cf436ebce60bc4a02a5be84b957be58879.tar.bz2 | |
Refactor find_each with conditions option in CleanUp
Diffstat (limited to 'app/controllers/clean_ups_controller.rb')
| -rw-r--r-- | app/controllers/clean_ups_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/clean_ups_controller.rb b/app/controllers/clean_ups_controller.rb index 6c0df0830..8718fc0dc 100644 --- a/app/controllers/clean_ups_controller.rb +++ b/app/controllers/clean_ups_controller.rb @@ -13,6 +13,7 @@ class CleanUpsController < ChouetteController result = clean_up.clean flash[:notice] = result.notice.join("<br/>") rescue => e + Rails.logger.error "CleanUp failed : #{e} #{e.backtrace}" flash[:alert] = t('clean_ups.failure', error_message: e.to_s) end end |
