From 3d48736c59f83371145fb869f4048f8f4734f923 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 15:28:30 +0000 Subject: [PATCH] Add error logging to hasAppInRepository for better debugging Co-authored-by: Nandanrmenon <16499541+Nandanrmenon@users.noreply.github.com> --- lib/services/database_service.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/services/database_service.dart b/lib/services/database_service.dart index 8cb2048..ee5454b 100644 --- a/lib/services/database_service.dart +++ b/lib/services/database_service.dart @@ -1,5 +1,6 @@ import 'dart:convert'; +import 'package:flutter/foundation.dart'; import 'package:path/path.dart'; import 'package:sqflite/sqflite.dart'; @@ -602,6 +603,7 @@ class DatabaseService { return appResults.isNotEmpty; } catch (e) { + debugPrint('Error checking if app $packageName exists in repository $repositoryUrl: $e'); return false; } }