def initialize_database(): message_key = "Initialize Database" try: init_db() except ValueError as err: return jsonify(build_message(message_key, err.message)) return jsonify(build_message(message_key, "OK"))