mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 11:27:50 +08:00
Address review comments: Remove security notices from code generators, restore debugPrint statements, remove extra documentation files
Co-authored-by: animator <615622+animator@users.noreply.github.com>
This commit is contained in:
@@ -57,7 +57,7 @@ Future<bool> openHiveBoxes() async {
|
||||
}
|
||||
return true;
|
||||
} catch (e) {
|
||||
// Error opening Hive boxes - logging suppressed for security
|
||||
debugPrint("ERROR OPEN HIVE BOXES: $e");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -74,7 +74,7 @@ Future<void> clearHiveBoxes() async {
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
// Error clearing Hive boxes - logging suppressed for security
|
||||
debugPrint("ERROR CLEAR HIVE BOXES: $e");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ Future<void> deleteHiveBoxes() async {
|
||||
}
|
||||
await Hive.close();
|
||||
} catch (e) {
|
||||
// Error deleting Hive boxes - logging suppressed for security
|
||||
debugPrint("ERROR DELETE HIVE BOXES: $e");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ class HiveHandler {
|
||||
late final LazyBox dashBotBox;
|
||||
|
||||
HiveHandler() {
|
||||
// Initialize Hive boxes
|
||||
debugPrint("Trying to open Hive boxes");
|
||||
dataBox = Hive.box(kDataBox);
|
||||
environmentBox = Hive.box(kEnvironmentBox);
|
||||
historyMetaBox = Hive.box(kHistoryMetaBox);
|
||||
|
||||
Reference in New Issue
Block a user