queue error in API does not behave the same in old and in allgo18
When you submit a job on a queue that doesn't exist :
on allgo.inria.fr:
$ curl -H 'Authorization: Token token=...' -X POST https://allgo.inria.fr/api/v1/jobs -F 'job[webapp_id]'=206 -F 'job[param]'='' -F 'job[webapp_name]'=206 -F 'job[version]'=None -F 'job[queue]'='nono'; printf "\n"
#=> html page with 404
on allgo18.inria.fr:
$ curl -H 'Authorization: Token token=PYBnc2Spjq03C9F5eNYlFzphupZsdU4p' -X POST https://allgo18.inria.fr/api/v1/jobs -F 'job[webapp_id]'=1035 -F 'job[param]'='' -F 'job[webapp_name]'=206 -F 'job[version]'=None -F 'job[queue]'='nono'; printf "\n"
#=> {"error": "Unknown queue"}
The error is different, the response is different.