Skip to content

Crash - Statement.swift line 211 #1118

Open
@amandalragone

Description

@amandalragone

After including SQLite in my project, I saw this crash:

SQLite/Statement.swift:211: Fatal error: 'try!' expression unexpectedly raised an error: disk I/O error (code: 10)

It looks like it's coming from here:

extension FailableIterator {
    public func next() -> Element? {
        // swiftlint:disable:next force_try
        try! failableNext()
    }
}

#1028 mentions a fix was merged last year, but it looks like the code is still the same. Would you please check on it?

Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions