exercise 4
move error handling to uniformed module - mybottle
avoid 500 on non-integer submission