mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Add missing error status code to VPrintable.
This commit is contained in:
@@ -566,7 +566,7 @@ class VPrintable(VLength):
|
||||
except UnicodeEncodeError:
|
||||
pass
|
||||
|
||||
self.set_error(errors.BAD_STRING)
|
||||
self.set_error(errors.BAD_STRING, code=400)
|
||||
return None
|
||||
|
||||
def param_docs(self):
|
||||
|
||||
Reference in New Issue
Block a user