mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
chore(snownet): print error code for unhandled message (#7367)
All our logic for handling errors is based on the error code. Even though there should be a 1:1 mapping between error code and reason phrase, I am seeing odd reports in Sentry for a case that we should be handling but aren't.
This commit is contained in:
@@ -443,7 +443,7 @@ impl Allocation {
|
||||
_ => {}
|
||||
}
|
||||
|
||||
tracing::warn!(error = %error.reason_phrase(), "TURN request failed");
|
||||
tracing::warn!(error = %error.reason_phrase(), code = %error.code(), "TURN request failed");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user