Skip to content

Commit

Permalink
* #267
Browse files Browse the repository at this point in the history
  • Loading branch information
adamansky committed Dec 18, 2019
1 parent 055a57f commit 5e82a73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ final class SWJQLExecutor {
do {
step.pointee = swe.visitor(try JBDOC(doc)) ? 1 : 0
} catch {
if let jberr = error as? EJDB2Error {
return jberr.code
if let jbe = error as? EJDB2Error {
return jbe.code
} else {
return UInt64(IW_ERROR_FAIL.rawValue)
}
Expand Down

0 comments on commit 5e82a73

Please sign in to comment.