"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.base64Decode = base64Decode;
exports.handleExecutionFailure = handleExecutionFailure;
function base64Decode(encoded) {
    return Buffer.from(encoded, 'base64').toString();
}
function handleExecutionFailure(response, message) {
    console.error(new Error(message));
    response.status(200).send(message);
}
