Add error logging to hasAppInRepository for better debugging
Co-authored-by: Nandanrmenon <16499541+Nandanrmenon@users.noreply.github.com>
This commit is contained in:
co-authored by
Nandanrmenon
parent
e2cd3caa1e
commit
3d48736c59
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user