Pass exception to handler, not just message