mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
Enable error reports without cooldown in testing builds
This commit is contained in:
parent
e527083871
commit
0188535eb9
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue