print error message when lua_pcall return error
release field_loc unless it is NULL