Skip to contents

This function provides a way to handle errors that might arise during the database upgrade. It will clean up any temporary files and disconnect from the database.

Usage

handle_upgrade_error(new_database, e)

Arguments

new_database

Path to the temporary new database.

e

Error message.

Value

Stops with an error message.