Add error logging to hasAppInRepository for better debugging

Co-authored-by: Nandanrmenon <16499541+Nandanrmenon@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-28 15:28:30 +00:00
co-authored by Nandanrmenon
parent e2cd3caa1e
commit 3d48736c59
+2
View File
@@ -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;
}
}