TF-4136 refactor(logging): replace logError with logWarning for non-critical cases
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ class AppDashboardConfigurationParser extends AppConfigParser<LinagoraApplicatio
|
||||
final jsonObject = jsonDecode(value);
|
||||
return LinagoraApplications.fromJson(jsonObject);
|
||||
} catch (e) {
|
||||
logError('AppDashboardConfigurationParser::parse(): $e');
|
||||
logWarning('AppDashboardConfigurationParser::parse(): $e');
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ class GetAppDashboardConfigurationInteractor {
|
||||
final linagoraApps = await _appGridRepository.getLinagoraApplicationsFromEnvironment(path);
|
||||
yield Right(GetAppDashboardConfigurationSuccess(linagoraApps.apps));
|
||||
} catch (e) {
|
||||
logError('GetAppDashboardConfigurationInteractor::execute(): $e');
|
||||
logWarning('GetAppDashboardConfigurationInteractor::execute(): $e');
|
||||
yield Left(GetAppDashboardConfigurationFailure(e));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user