add path to err

need the path to do something...
it useful for some unexpected error happen