mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-10 00:42:06 +00:00
Update to new style exception catching
This commit is contained in:
@ -46,7 +46,7 @@ def other_vectors_validator(val):
|
||||
))
|
||||
except ValidationError:
|
||||
raise
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
raise ValidationError("Failed to parse vectors: %s" % e)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user