Skip to content

Commit 00dbd77

Browse files
committed
Improve (error) logs.
1 parent 5395cc8 commit 00dbd77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn main() {
2323
let matches = App::new("chirpstack-udp-bridge")
2424
.version(config::VERSION)
2525
.author("Orne Brocaar <info@brocaar.com>")
26-
.about("ChirpStack UDP bridge for Concentratord compatible with the Semtech UDP protocol")
26+
.about("ChirpStack UDP Bridge for Concentratord, compatible with the Semtech UDP protocol")
2727
.arg(
2828
Arg::with_name("config")
2929
.short("c")
@@ -47,14 +47,14 @@ fn main() {
4747
.expect("setup logger error");
4848

4949
info!(
50-
"Starting UDP Forwarder (version: {}, docs: {})",
50+
"Starting ChirpStack UDP Bridge (version: {}, docs: {})",
5151
config::VERSION,
52-
"https://www.chirpstack.io/concentratord/"
52+
"https://github.com/brocaar/chirpstack-udp-bridge",
5353
);
5454

5555
// read gateway id.
56-
let gateway_id =
57-
helpers::get_gateway_id(&config.concentratord.command_url).expect("get gateway_id error");
56+
let gateway_id = helpers::get_gateway_id(&config.concentratord.command_url)
57+
.expect("get gateway_id from concentratord failed, is concentratord running?");
5858

5959
info!(
6060
"Received gateway ID from Concentratord, gateway_id: {}",

0 commit comments

Comments
 (0)