Add path to error message.