Merge "Change invalid date error code to 400"

This commit is contained in:
Zuul 2018-07-23 03:40:01 +00:00 committed by Gerrit Code Review
commit dbe1be4d17
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ class EventError(exceptions.BlazarException):
class InvalidDate(exceptions.BlazarException):
code = 400
msg_fmt = _(
'%(date)s is an invalid date. Required format: %(date_format)s')