sentry-cli 2.37.0__tar.gz → 2.38.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/Cargo.lock +1 -1
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/Cargo.toml +1 -1
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/PKG-INFO +1 -1
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/sentry_cli.egg-info/PKG-INFO +1 -1
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/monitors/run.rs +8 -2
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/system.rs +2 -4
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/LICENSE +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/MANIFEST.in +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/README.md +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/build.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/pyproject.toml +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/sentry_cli.egg-info/SOURCES.txt +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/sentry_cli.egg-info/dependency_links.txt +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/sentry_cli.egg-info/top_level.txt +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/setup.cfg +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/setup.py +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/connection_manager.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/artifact.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/compression.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/dif.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/file_state.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/upload/capability.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/upload/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/chunking/upload/options.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/deploy.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/data_types/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/encoding.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/envelopes_api.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/errors/api_error.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/errors/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/errors/sentry_error.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/api/pagination.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/bashsupport.sh +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/bash_hook.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/bundle_jvm.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/bundle_sources.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/check.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/find.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/print_sources.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/debug_files/upload.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/deploys/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/deploys/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/deploys/new.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/derive_parser.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/events/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/events/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/files/delete.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/files/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/files/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/files/upload.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/info.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/issues/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/issues/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/issues/mute.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/issues/resolve.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/issues/unresolve.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/login.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/monitors/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/monitors/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/organizations/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/organizations/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/projects/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/projects/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/react_native/appcenter.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/react_native/gradle.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/react_native/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/react_native/xcode.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/archive.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/delete.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/finalize.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/info.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/new.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/propose_version.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/restore.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/releases/set_commits.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/repos/list.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/repos/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_envelope.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_event.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/common_args.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/distribution.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/gauge.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/increment.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/send_metric/set.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/sourcemaps/explain.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/sourcemaps/inject.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/sourcemaps/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/sourcemaps/resolve.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/sourcemaps/upload.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/uninstall.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/update.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/upload_dif.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/upload_dsym.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/commands/upload_proguard.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/config.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/constants.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/main.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/android.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/appcenter.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/args.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/auth_token_impl.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/error.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/org_auth_token.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/redacting.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/test.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/auth_token/user_auth_token.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/chunks.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/cordova.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/dif.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/dif_upload.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/event.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/file_search.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/file_upload.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/formatting.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/fs.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/http.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/logging.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/metrics.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/mod.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/progress.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/releases.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/retry.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_default_twenty.snap +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_ignore_missing.snap +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_base.snap +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/snapshots/sentry_cli__utils__vcs__generate_patch_set_previous_commit.snap +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/snapshots/sentry_cli__utils__vcs__get_commits_from_git.snap +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/sourcemaps/inject.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/sourcemaps.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/ui.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/update.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/value_parsers.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/vcs.rs +0 -0
- {sentry_cli-2.37.0 → sentry_cli-2.38.0}/src/utils/xcode.rs +0 -0
|
@@ -11,6 +11,7 @@ use sentry::protocol::{MonitorCheckIn, MonitorCheckInStatus, MonitorConfig, Moni
|
|
|
11
11
|
|
|
12
12
|
use crate::api::envelopes_api::EnvelopesApi;
|
|
13
13
|
use crate::utils::system::QuietExit;
|
|
14
|
+
use crate::utils::value_parsers::auth_token_parser;
|
|
14
15
|
|
|
15
16
|
pub fn make_command(command: Command) -> Command {
|
|
16
17
|
command
|
|
@@ -96,7 +97,12 @@ pub fn make_command(command: Command) -> Command {
|
|
|
96
97
|
),
|
|
97
98
|
)
|
|
98
99
|
// Hide auth token from --help output
|
|
99
|
-
.arg(
|
|
100
|
+
.arg(
|
|
101
|
+
Arg::new("auth_token")
|
|
102
|
+
.long("auth-token")
|
|
103
|
+
.value_parser(auth_token_parser)
|
|
104
|
+
.hide(true),
|
|
105
|
+
)
|
|
100
106
|
}
|
|
101
107
|
|
|
102
108
|
fn run_program(args: Vec<&String>, monitor_slug: &str) -> (bool, Option<i32>, Duration) {
|
|
@@ -140,7 +146,7 @@ fn execute_checkin(
|
|
|
140
146
|
};
|
|
141
147
|
|
|
142
148
|
let envelopes_api = EnvelopesApi::try_new()?;
|
|
143
|
-
|
|
149
|
+
|
|
144
150
|
if let Err(e) = envelopes_api.send_envelope(open_checkin) {
|
|
145
151
|
log::error!("Failed to send in-progress check-in envelope: {e}");
|
|
146
152
|
log::info!("Continuing to run program...");
|
|
@@ -76,10 +76,8 @@ pub fn print_error(err: &Error) {
|
|
|
76
76
|
clap_err.exit();
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.skip(1)
|
|
82
|
-
.for_each(|cause| eprintln!(" {} {}", style("caused by:").dim(), cause));
|
|
79
|
+
// Debug style for error includes cause chain and backtrace (if available).
|
|
80
|
+
eprintln!("{} {:?}", style("error:").red(), err);
|
|
83
81
|
|
|
84
82
|
if Config::current_opt().map_or(true, |config| {
|
|
85
83
|
config.get_log_level() < log::LevelFilter::Info
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|