<commit_before>from flask import render_template
from app.main import main


@main.app_errorhandler(400)
def page_not_found(e):
    print(e.message)
    return _render_error_page(500)


@main.app_errorhandler(404)
def page_not_found(e):
    print(e.message)
    return _render_error_page(404)


@main.app_errorhandler(500)
def exception(e):
    print(e.message)
    return _render_error_page(500)


@main.app_errorhandler(503)
def service_unavailable(e):
    print(e.message)
    return _render_error_page(503)

<commit_msg>Try to print exception<commit_after>from flask import render_template
from app.main import main


@main.app_errorhandler(400)
def page_not_found(e):
    print(e)
    return _render_error_page(500)


@main.app_errorhandler(404)
def page_not_found(e):
    print(e)
    return _render_error_page(404)


@main.app_errorhandler(500)
def exception(e):
    print(e)
    return _render_error_page(500)


@main.app_errorhandler(503)
def service_unavailable(e):
    print(e)
    return _render_error_page(503)


{'fraction_non_alphanumeric': 0.0975609756097561, 'fraction_numerical': 0.04682926829268293, 'mean_word_length': 5.2560975609756095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3053010', 'n_tokens_mistral': 410, 'n_tokens_neox': 366, 'n_words': 67}