Skip to content

Commit c7e6463

Browse files
committed
updated database manager for throwing error when query fails
1 parent 855f7b5 commit c7e6463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CbliteSwiftJsLib/Classes/DatabaseManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public class DatabaseManager {
262262
let jsonArray = "[" + resultJSONs.joined(separator: ",") + "]"
263263
return jsonArray
264264
} catch {
265-
throw QueryError.unknownError(message: error.localizedDescription)
265+
throw error
266266
}
267267
}
268268

0 commit comments

Comments
 (0)