mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Enable error reports without cooldown in testing builds
This commit is contained in:
@@ -20,7 +20,8 @@ import 'package:shared_preferences/shared_preferences.dart';
|
||||
|
||||
class ExceptionHandler {
|
||||
static bool _hasError = false;
|
||||
static const _coolDownDurationInDays = 7;
|
||||
static const _coolDownDurationInDays =
|
||||
bool.fromEnvironment('hasDevOptions', defaultValue: kDebugMode) ? 0 : 7;
|
||||
static File? _file;
|
||||
|
||||
static Future<void> _saveException(String? error, StackTrace? stackTrace,
|
||||
|
||||
Reference in New Issue
Block a user