BUG:  Log pi and lambda if exception