Log stacks for errors as well