We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c692fe7 commit dfe6339Copy full SHA for dfe6339
Sources/Mach/Core/Messaging/MIG/MIGClient.swift
@@ -88,7 +88,7 @@ extension Mach {
88
{
89
// The `noReply` case is not actually an error, just the absence of
90
// a defined reply. We return early as if there was no error.
91
- if matchingMIGErrorCode != .noReply { return }
+ if matchingMIGErrorCode == .noReply { return }
92
93
// Otherwise, we throw a MIG error.
94
throw Mach.MIGError(matchingMIGErrorCode)
0 commit comments