Change error message
This commit is contained in:
parent
7787c4db50
commit
9e29052ae3
|
@ -57,7 +57,7 @@ def isEven(number):
|
||||||
return res
|
return res
|
||||||
except:
|
except:
|
||||||
res = jsonify(dict(
|
res = jsonify(dict(
|
||||||
error='Invalid number.',
|
error='what is this I don\'t even',
|
||||||
))
|
))
|
||||||
res.status_code = 400
|
res.status_code = 400
|
||||||
return res
|
return res
|
||||||
|
|
Loading…
Reference in New Issue
Block a user