From 9aceb6a0d7b1698a557647493bd78b030dad468b Mon Sep 17 00:00:00 2001 From: Tanner Nelson Date: Mon, 25 Sep 2017 15:22:53 -0400 Subject: [PATCH] fix typo --- Sources/SQLite/SQLite.swift | 2 +- test_database.sqlite | Bin 8192 -> 8192 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SQLite/SQLite.swift b/Sources/SQLite/SQLite.swift index f68d2a9..80bc6e1 100644 --- a/Sources/SQLite/SQLite.swift +++ b/Sources/SQLite/SQLite.swift @@ -34,7 +34,7 @@ public class SQLite { let status = sqlite3_open_v2(path, &database, options, nil) - StatusError.check(with: status, msg: database?.errorMessage ?? "") + try StatusError.check(with: status, msg: database?.errorMessage ?? "") } /** diff --git a/test_database.sqlite b/test_database.sqlite index efea08b844cb36aca082cb79bc2e0204d0a5f234..c08b4a0c2aff9768d7f9fdf3c4fcb1072f4d1f67 100644 GIT binary patch delta 33 gcmZp0XmFSyEhx*tz`z8=Fu*@i$Cy!eW5NP?09G6YNdN!< delta 33 gcmZp0XmFSyEy&Nnz`z8=Fu*=h$C#0SW5NP?08|(^b