Remove duplicate printing of panic in client code