You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/10/28 20:47:20 UTC

[GitHub] [superset] eschutho commented on a diff in pull request #21627: chore: add 4xx error codes where applicable

eschutho commented on code in PR #21627:
URL: https://github.com/apache/superset/pull/21627#discussion_r1008464086


##########
superset/reports/commands/exceptions.py:
##########
@@ -163,10 +165,12 @@ class ReportScheduleExecuteUnexpectedError(CommandException):
 
 
 class ReportSchedulePreviousWorkingError(CommandException):
+    status = 429

Review Comment:
   Thanks @dpgaspar! @john-bodley, @betodealmeida and I were talking about `error_type`s as well and concluded that errors should not be raised, only exceptions, and that we can include errors with an exception, but not raise them. Do you have thoughts on that @dpgaspar?



-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org