Skip to content

Commit 69ccf32

Browse files
authored
make stacktrace optional (vapor#147)
1 parent 561fa79 commit 69ccf32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
/*.xcodeproj
55
Package.resolved
66
DerivedData
7+
.swiftpm
78

Sources/PostgreSQL/Utilities/PostgreSQLError.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public struct PostgreSQLError: Debuggable {
2525
public var sourceLocation: SourceLocation
2626

2727
/// See `Debuggable`.
28-
public var stackTrace: [String]
28+
public var stackTrace: [String]?
2929

3030
/// See `Debuggable`.
3131
public var possibleCauses: [String]

0 commit comments

Comments
 (0)