Skip to content

Commit cd82e28

Browse files
FredLL-AvaigaFred Lefévère-Laoide
and
Fred Lefévère-Laoide
authored
lighten warnings (#2490)
resolves #2481 Co-authored-by: Fred Lefévère-Laoide <[email protected]>
1 parent 047784b commit cd82e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taipy/gui/gui.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1655,10 +1655,10 @@ def __call_function_with_args(self, **kwargs):
16551655
except Exception:
16561656
args = [id, payload]
16571657
self._call_function_with_state(t.cast(t.Callable, action_function), args)
1658-
return True
16591658
except Exception as e: # pragma: no cover
16601659
if not self._call_on_exception(action_function, e):
16611660
_warn(f"on_action(): Exception raised in '{_function_name(action_function)}()'", e)
1661+
return True
16621662
return False
16631663

16641664
def _call_function_with_state(self, user_function: t.Callable, args: t.Optional[t.List[t.Any]] = None) -> t.Any:

0 commit comments

Comments
 (0)