This pull request refactors the SQL extraction functions to handle parsing failures. Previously, if there was a parsing failure in the source code, the function would panic. Now, if there is a parsing failure, an error message is printed and an empty list is returned. Additionally, a new test case has been added to cover the scenario of a SQL query with a parsing failure.
This pull request refactors the SQL extraction functions to handle parsing failures. Previously, if there was a parsing failure in the source code, the function would panic. Now, if there is a parsing failure, an error message is printed and an empty list is returned. Additionally, a new test case has been added to cover the scenario of a SQL query with a parsing failure.
Fixes #22 Fixes #38