Skip to content

Commit

Permalink
add identifier to init (#1923)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikkel Ulstrup authored and tanner0101 committed Mar 5, 2019
1 parent c86ada5 commit bf496ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Vapor/Error/Abort.swift
Expand Up @@ -65,7 +65,7 @@ public struct Abort: AbortError {
line: UInt = #line,
column: UInt = #column
) {
self.identifier = status.code.description
self.identifier = identifier ?? status.code.description
self.headers = headers
self.status = status
self.reason = reason ?? status.reasonPhrase
Expand Down

0 comments on commit bf496ff

Please sign in to comment.