log err.stack on exceptions