Skip to content

Commit

Permalink
added to messages to make date format issues more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
gayle committed May 21, 2010
1 parent db55f71 commit fc6ccf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/families_controller.rb
Expand Up @@ -149,8 +149,8 @@ def update
end
end
rescue Exception => e
message = "update_attributes failed(): Unable to save family #{@family.familyname} [DETAILS: #{@family.errors.to_a.join(',')}, err=#{e.message}]"
flash[:error] = message
message = "update_attributes failed(): Unable to save family #{@family.familyname}"
flash[:error] = "#{message}<br />[DETAILS: #{e.message}]"
logger.error "ERROR updating family \n#{@family.inspect}} \n #{message}"
logger.error e.backtrace.join("\n\t")
render :action => "edit"
Expand Down

0 comments on commit fc6ccf1

Please sign in to comment.