From 0212521a91b21a082beed9f5bc1fc43da0b5cbda Mon Sep 17 00:00:00 2001 From: Tanner Nelson Date: Mon, 14 Oct 2019 17:57:15 -0400 Subject: [PATCH] make stacktrace optional --- .gitignore | 1 + Sources/PostgreSQL/Utilities/PostgreSQLError.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ea8fec49..03bf1b34 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ /*.xcodeproj Package.resolved DerivedData +.swiftpm diff --git a/Sources/PostgreSQL/Utilities/PostgreSQLError.swift b/Sources/PostgreSQL/Utilities/PostgreSQLError.swift index dd305606..cfbcf9ef 100644 --- a/Sources/PostgreSQL/Utilities/PostgreSQLError.swift +++ b/Sources/PostgreSQL/Utilities/PostgreSQLError.swift @@ -25,7 +25,7 @@ public struct PostgreSQLError: Debuggable { public var sourceLocation: SourceLocation /// See `Debuggable`. - public var stackTrace: [String] + public var stackTrace: [String]? /// See `Debuggable`. public var possibleCauses: [String]