Skip to content

Commit

Permalink
fix(analytics): add explicit return cause 5.7 (#3268)
Browse files Browse the repository at this point in the history
  • Loading branch information
atierian authored Oct 3, 2023
1 parent e4887af commit eacdffd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ extension CommonRunTimeError {
public var isConnectivityError: Bool {
switch self {
case .crtError(let error):
Self.connectivityErrorCodes.contains(UInt32(error.code))
return Self.connectivityErrorCodes.contains(
UInt32(error.code)
)
}
}
}

0 comments on commit eacdffd

Please sign in to comment.