Add debug to health check

This commit is contained in:
Hillel Coren 2022-10-27 13:00:41 +03:00
parent 28c00dc2bd
commit 061720b02e
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
import 'dart:async';
// Flutter imports:
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
// Package imports:
@ -54,7 +55,9 @@ class _HealthCheckDialogState extends State<HealthCheckDialog> {
final url = '${credentials.url}/health_check';
webClient.get(url, credentials.token).then((dynamic response) {
//print('## response: $response');
if (!kReleaseMode) {
print('## response: $response');
}
setState(() {
_response = serializers.deserializeWith(
HealthCheckResponse.serializer, response);