Fixed error handling
Merge branch 'master' of github.com:seadsystem/Backend