Buckets:

imerfanrajabee's picture
download
raw
744 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogError = void 0;
/**
* Logs when commands failed executing, e.g. due to the executable not existing in the system.
*/
class LogError {
logger;
constructor({ logger }) {
this.logger = logger;
}
handle(commands) {
commands.forEach((command) => command.error.subscribe((event) => {
this.logger.logCommandEvent(`Error occurred when executing command: ${command.command}`, command);
const errorText = String(event instanceof Error ? event.stack || event : event);
this.logger.logCommandEvent(errorText, command);
}));
return { commands };
}
}
exports.LogError = LogError;

Xet Storage Details

Size:
744 Bytes
·
Xet hash:
e9efee815a80012e9b3aceaf03b21f280831813a504b4ab9a862d87e7648f3ea

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.