villebro commented on a change in pull request #16463:
URL: https://github.com/apache/superset/pull/16463#discussion_r696838933
##########
File path: superset/annotation_layers/annotations/api.py
##########
@@ -381,7 +381,7 @@ def put( # pylint: disable=arguments-differ
try:
new_model = UpdateAnnotationCommand(g.user, annotation_id,
item).run()
return self.response(200, id=new_model.id, result=item)
- except (AnnotationNotFoundError, AnnotationLayerNotFoundError) as ex:
+ except (AnnotationNotFoundError, AnnotationLayerNotFoundError):
Review comment:
I was actually really surprised this wasn't caught by older versions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]