We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d7585f commit ce1cd6dCopy full SHA for ce1cd6d
2 files changed
src/commands/mobile_app/upload.rs
@@ -52,8 +52,7 @@ pub fn execute(matches: &ArgMatches) -> Result<()> {
52
let path_strings: Vec<_> = match matches.get_many::<String>("paths") {
53
Some(paths) => paths.collect(),
54
None => {
55
- eprintln!("path argument is required");
56
- return Ok(());
+ return Err(anyhow!("path argument is required"));
57
}
58
};
59
tests/integration/_cases/mobile_app/mobile_app-upload-no-path.trycmd
@@ -1,6 +1,9 @@
1
```
2
$ sentry-cli mobile-app upload
3
-? success
4
-path argument is required
+? 1
+error: path argument is required
5
+
6
+Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
7
+Please attach the full debug log to all bug reports.
8
9
0 commit comments