TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
@@ -224,7 +224,7 @@ class LoginController extends ReloadableController {
|
||||
|
||||
@override
|
||||
void handleUrgentException({Failure? failure, Exception? exception}) {
|
||||
logError('LoginController::handleUrgentException:Exception: $exception | Failure: $failure');
|
||||
logWarning('LoginController::handleUrgentException:Exception: $exception | Failure: $failure');
|
||||
if (failure is CheckOIDCIsAvailableFailure) {
|
||||
_handleCheckOIDCIsAvailableFailure(failure);
|
||||
} else if (failure is GetOIDCConfigurationFromBaseUrlFailure) {
|
||||
@@ -316,7 +316,7 @@ class LoginController extends ReloadableController {
|
||||
featureFailure = failure;
|
||||
tryGetOIDCConfigurationFromBaseUrl(_currentBaseUrl!);
|
||||
} catch (e) {
|
||||
logError('LoginController::_handleCheckOIDCIsAvailableFailure:Exception = $e');
|
||||
logWarning('LoginController::_handleCheckOIDCIsAvailableFailure:Exception = $e');
|
||||
handleOIDCIsNotAvailable(failure);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user