Sandbox WebHook dispatch

Review Request #8235 — Created June 10, 2016 and submitted

Information

Review Board
release-2.5.x
b99f649...

Reviewers

Previously, WebHook dispatch could trigger several exceptions that were
not caught and this could lead to broken state. Now, we catch these
exceptions and log them. Unit tests have been added to ensure that these
errors do not bubble up.

Ran unit tests.

Description From Last Updated

Should be a raw string. Also space before the %}.

chipx86chipx86

I think we should just catch anything and everything.

chipx86chipx86

Same here. Let's catch everything. We don't want anything slipping by.

chipx86chipx86

Here, too.

chipx86chipx86

'TemplateSyntaxError' imported but unused

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
chipx86
  1. 
      
  2. reviewboard/notifications/tests.py (Diff revision 1)
     
     
    Show all issues

    Should be a raw string.

    Also space before the %}.

  3. reviewboard/notifications/webhooks.py (Diff revision 1)
     
     
    Show all issues

    I think we should just catch anything and everything.

  4. reviewboard/notifications/webhooks.py (Diff revision 1)
     
     
    Show all issues

    Same here. Let's catch everything. We don't want anything slipping by.

  5. reviewboard/notifications/webhooks.py (Diff revision 1)
     
     
    Show all issues

    Here, too.

  6. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
  2. reviewboard/notifications/webhooks.py (Diff revision 2)
     
     
    Show all issues
     'TemplateSyntaxError' imported but unused
    
  3. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/notifications/webhooks.py
        reviewboard/notifications/tests.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.5.x (a2250b3)