Bank boss shares lessons from two crises