未確認だが問題回避のためプッシュ
This commit is contained in:
@ -9,7 +9,7 @@ class ErrorService {
|
||||
final String errorMessage = error.toString();
|
||||
final String stackTraceString = stackTrace.toString();
|
||||
final String estimatedCause = _estimateErrorCause(errorMessage);
|
||||
// final String deviceInfo = await _getDeviceInfo();
|
||||
//final String deviceInfo = await _getDeviceInfo();
|
||||
|
||||
final Uri url = Uri.parse('https://rogaining.sumasen.net/report-error');
|
||||
final response = await http.post(
|
||||
@ -44,5 +44,17 @@ class ErrorService {
|
||||
return '不明なエラー';
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
// 2024-4-8 Akira: メモリ使用量のチェックのため追加 See #2810
|
||||
//
|
||||
static void reportMemoryError(String message, StackTrace stackTrace) async {
|
||||
final errorDetails = FlutterErrorDetails(
|
||||
exception: Exception(message),
|
||||
stack: stackTrace,
|
||||
);
|
||||
await reportError(errorDetails.exception, errorDetails.stack ?? StackTrace.current, deviceInfo);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user