remove print_exc call