don't overwrite variable reference when iterating
don't overwrite variable reference when iterating

Also popuplate full backtrace when rescuing from a generic exception
to aid in debugging.

benknowles/wagon,cappadona/wagon,cappadona/wagon,haunt-digital/wagon,locomotivecms/wagon,infinum/wagon,masm/wagon,ipmobiletech/locomotivecms-wagon,cappadona/wagon,haunt-digital/wagon,ipmobiletech/locomotivecms-wagon,haunt-digital/wagon,masm/wagon,locomotivecms/wagon,jaykay/wagon,jaykay/wagon,benknowles/wagon,infinum/wagon