Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/strapi/node_modules/@sentry/node/dist/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var core_1 = require("@sentry/core");
var backend_1 = require("./backend");
var version_1 = require("./version");
/**
* The Sentry Node SDK Client.
*
* @see NodeOptions for documentation on configuration options.
* @see SentryClient for usage documentation.
*/
var NodeClient = /** @class */ (function (_super) {
tslib_1.__extends(NodeClient, _super);
/**
* Creates a new Node SDK instance.
* @param options Configuration options for this SDK.
*/
function NodeClient(options) {
return _super.call(this, backend_1.NodeBackend, options) || this;
}
/**
* @inheritDoc
*/
NodeClient.prototype._prepareEvent = function (event, scope, hint) {
event.platform = event.platform || 'node';
event.sdk = tslib_1.__assign(tslib_1.__assign({}, event.sdk), { name: version_1.SDK_NAME, packages: tslib_1.__spread(((event.sdk && event.sdk.packages) || []), [
{
name: 'npm:@sentry/node',
version: version_1.SDK_VERSION,
},
]), version: version_1.SDK_VERSION });
if (this.getOptions().serverName) {
event.server_name = this.getOptions().serverName;
}
return _super.prototype._prepareEvent.call(this, event, scope, hint);
};
return NodeClient;
}(core_1.BaseClient));
exports.NodeClient = NodeClient;
//# sourceMappingURL=client.js.map |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0047 ]-- |