improve debug when server error
Merge branch 'master' of github.com:spmjs/spm-client