Skip to content

Commit

Permalink
Add sources setting
Browse files Browse the repository at this point in the history
  • Loading branch information
hhhello0507 committed Jul 8, 2024
1 parent 670aea3 commit 959c616
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file not shown.
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ let package = Package(
name: "SocketRocket",
path: "Sources/SocketRocket",
exclude: ["Resources"],
sources: [".", "Internal"],
publicHeadersPath: "include",
cSettings: [
.headerSearchPath("."),
Expand Down
2 changes: 1 addition & 1 deletion Sources/ApeunStompKit/ApeunStomp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public class ApeunStomp: NSObject {
d == destination,
let json = jsonBody.data(using: .utf8) else {
if case .serverDidSendError(let description, let message) = e {
print("\(description), \(message)")
print("\(description), \(message ?? "")")
}
throw StompError.unknown
}
Expand Down

0 comments on commit 959c616

Please sign in to comment.