Update print_error to include post modules