Skip to content

Commit

Permalink
fix(events): prevent calling from being stuck forever
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorhugods committed Oct 17, 2023
1 parent e6aa7df commit 711c3c9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class OnConfigRequest(
callingScope.launch {
callRepository.getCallConfigResponse(limit = null)
.fold({
callingLogger.i("[OnConfigRequest] - Error: $it")
callingLogger.w("[OnConfigRequest] - Error: $it")
// We can call config_update with an error if there was a connectivity issue
// AVS will eventually ask us again for the config
// TODO(improvement): We can retry it ourselves and improve the app responsiveness.
Expand All @@ -55,7 +55,7 @@ class OnConfigRequest(
}, { config ->
calling.wcall_config_update(
inst = inst,
error = 0, // TODO(calling): http error from internal json
error = 0,
jsonString = config
)
callingLogger.i("[OnConfigRequest] - wcall_config_update()")
Expand Down

0 comments on commit 711c3c9

Please sign in to comment.