mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-13 14:13:01 +00:00
chirpstack: Log OTAA for unknown device as warning.
This commit is contained in:
parent
48aa453e95
commit
5bd2f2b24f
@ -257,7 +257,8 @@ impl JoinRequest {
|
||||
Err(e) => {
|
||||
if let StorageError::NotFound(_) = e {
|
||||
if !roaming::is_enabled() {
|
||||
return Err(anyhow::Error::new(e));
|
||||
warn!(dev_eui = %jr.dev_eui, "Unknown device");
|
||||
return Err(anyhow::Error::new(Error::Abort));
|
||||
}
|
||||
|
||||
info!(dev_eui = %jr.dev_eui, join_eui = %jr.join_eui, "Unknown device, trying passive-roaming activation");
|
||||
|
Loading…
x
Reference in New Issue
Block a user