log errors in console as well as putting them in session info

for one thing, the console links directly to the offending code