modify error message add log
Merge branch 'master' of https://github.com/Abcoderoject/EMS