Skip to content

Commit e0b161a

Browse files
committed
Fix no output callback and error handler.
1 parent a26eea5 commit e0b161a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_callback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def add_context(*args, **kwargs):
508508
output_value = error_handler(err)
509509

510510
# If the error returns nothing, automatically puts NoUpdate for response.
511-
if output_value is None:
511+
if output_value is None and has_output:
512512
output_value = NoUpdate()
513513
else:
514514
raise err

0 commit comments

Comments
 (0)