Skip to content

Commit

Permalink
Cherry-pick v0.2.1 into main (#107)
Browse files Browse the repository at this point in the history
* Update changelog and release

* Do not crash if the default am.toml was not found
  • Loading branch information
hatchan authored Jul 24, 2023
1 parent d52ee5c commit f8b00a9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- SHA-256 checksums are now provided for all artifact downloads (#101)
- Use `clap-markdown` fork that enables formatting by display name (#103)

## [0.2.1]

- Do not crash if no `--config-file` is specified and no `am.toml` is found (#106)

## [0.2.0]

- Make logging less verbose, and introduce a `--verbose` flag to verbose logging (#62)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autometrics-am"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
authors = ["Fiberplane <info@fiberplane.com>"]
description = ""
Expand Down
2 changes: 1 addition & 1 deletion src/bin/am/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async fn load_config(config_file: Option<PathBuf>) -> Result<AmConfig> {
Ok(config)
}
Err(err) => {
if !is_default {
if is_default {
debug!(?err, "No config file found, using defaults");
Ok(AmConfig::default())
} else {
Expand Down

0 comments on commit f8b00a9

Please sign in to comment.