Update gitignore
remove debug
Fix status_code in exception