Skip to content

Commit

Permalink
fixed issue related to PR envoy#110
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebuss committed Nov 20, 2024
1 parent 8469f2c commit e6f1bb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
xcuserdata
.build
.DS_Store
4 changes: 2 additions & 2 deletions Sources/Transport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ public final class Transport {
// (usually means that this function was called by resumeReading)
return
}
fatalError("Failed to read, errno=\(errno), message=\(lastErrorDescription())")
return
} catch {
fatalError("Failed to read")
return
}
guard data.count > 0 else {
closedByPeer()
Expand Down

0 comments on commit e6f1bb6

Please sign in to comment.