add path to err
Merge pull request #52 from coderhaoxin/err-msg

add path to error object