Skip to content

Commit 8633fe6

Browse files
committed
Improve code consistency
1 parent 1b181b6 commit 8633fe6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vminitd/Sources/vminitd/Server+GRPC.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ extension Initd: Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncProvid
520520
"containerID": "\(request.containerID)",
521521
"error": "\(error)",
522522
])
523-
throw GRPCStatus(code: .internalError, message: "createProcess: \(error)")
523+
throw GRPCStatus(code: .internalError, message: "createProcess: failed to create process: \(error)")
524524
}
525525
}
526526

@@ -626,7 +626,7 @@ extension Initd: Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncProvid
626626
"containerID": "\(request.containerID)",
627627
"error": "\(error)",
628628
])
629-
throw GRPCStatus(code: .internalError, message: "deleteProcess: \(error)")
629+
throw GRPCStatus(code: .internalError, message: "deleteProcess: failed to delete process: \(error)")
630630
}
631631
}
632632

0 commit comments

Comments
 (0)