@app.errorhandler(ExperimentError)
def handle_exp_error(exception):
    app.logger.error(
        "%s (%s) %s", exception.value, exception.errornum, str(dict(request.args)))
    return exception.error_page(request, CONFIG.get('HIT Configuration',
                                                    'contact_email_on_error'))
Write the package file.
dataset/ETHPy150Open NYUCCL/psiTurk/psiturk/experiment.py/handle_exp_error--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/modflow/mfhyd.py/ModflowHyd.write_file