def internal_server_error(message=None):
    message = message or 'Something went wrong.'
    return error(500, message, 'errors/500.html')
A generic 500 handler
dataset/ETHPy150Open rehandalal/buchner/buchner/project-template/PROJECTMODULE/errors.py/internal_server_error