diff options
| author | Xinhui | 2017-09-12 14:10:48 +0200 |
|---|---|---|
| committer | Xinhui | 2017-09-12 14:23:10 +0200 |
| commit | 186b095684d446c21463babd33a8a03fdfb0c9d5 (patch) | |
| tree | d42b0308b8dc999b8a99dc2fd4949c86e6a97457 | |
| parent | 8f2e5c5c6ea8ed9be2830ebac250841e8c9247a6 (diff) | |
| download | chouette-core-186b095684d446c21463babd33a8a03fdfb0c9d5.tar.bz2 | |
Add errors details on reflex:sync log
| -rw-r--r-- | lib/stif/reflex_synchronization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/reflex_synchronization.rb b/lib/stif/reflex_synchronization.rb index b3f474221..a3bf3957e 100644 --- a/lib/stif/reflex_synchronization.rb +++ b/lib/stif/reflex_synchronization.rb @@ -38,7 +38,7 @@ module Stif if object.valid? object.save else - Rails.logger.error "Reflex:sync - #{object.class.model_name} with objectid #{object.objectid} and name #{object.name} can't be saved" + Rails.logger.error "Reflex:sync - #{object.class.model_name} with objectid #{object.objectid} can't be saved - errors : #{object.errors.messages}" end end |
