fixed a small bug giving the wrong error message
Merge branch 'master' of github.com:alexlo03/CodeSwap