Skip to content

Commit 40130bd

Browse files
committed
raise back PreventUpdate
1 parent 0a19ac5 commit 40130bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dash/_callback.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,8 @@ def add_context(*args, **kwargs):
475475
else:
476476
try:
477477
output_value = _invoke_callback(func, *func_args, **func_kwargs)
478+
except PreventUpdate as err:
479+
raise err
478480
except Exception as err: # pylint: disable=broad-exception-caught
479481
if on_error:
480482
output_value = on_error(err)

0 commit comments

Comments
 (0)