feat: Refactor database access to use parameterized queries and improve error handling; update launch settings and add VSCode configuration files

This commit is contained in:
jim
2025-11-21 16:26:33 -06:00
parent 81e345b36f
commit 2640854f79
9 changed files with 216 additions and 75 deletions
+2 -7
View File
@@ -364,6 +364,7 @@ namespace URLNotesGrabberCORE
else if (response.response == null)
{
Console.WriteLine("##### Response Null - API Failure? ###");
Console.WriteLine($"Raw JSON: {response.rawJson}");
return "FAILURE";
}
else if (response.response.notes == null)
@@ -373,13 +374,7 @@ namespace URLNotesGrabberCORE
}
else
{
if (response.response == null)
{
Console.WriteLine("response.response == null");
return "FAILURE";
}
while (response.response != null
while (response.response != null
&& response.response._links != null
&& long.Parse(response.response._links.next.query_params.before_timestamp) >= post.Item3)
{