Revision 24ec057a include/RequestManager.h

View differences:

include/RequestManager.h
184 184
            << " to perform " << action << " on " << object; 
185 185
            
186 186
        
187
        if ( id != (int)NULL )
187
        if ( id != -1 )
188 188
        {
189 189
            oss << " [" << id << "].";
190 190
        }
......
215 215
        oss << "[" << method << "]" << " Error getting " << 
216 216
               object;
217 217
               
218
       if ( id != (int)NULL )
218
       if ( id != -1 )
219 219
       {
220 220
           oss << " [" << id << "].";
221 221
       }
......
238 238
        oss << "[" << method << "]" << " Error trying to " << action << " "
239 239
            << object;
240 240
        
241
        if ( id != (int)NULL )
241
        if ( id != -1 )
242 242
        {
243 243
            oss << " [" << id << "].";
244 244
        }
245
        else
246
        {
247
            oss << " Pool.";
248
        }
245 249
        
246 250
        if ( rc != (int)NULL )
247 251
        {
248
            oss << " .Returned error code [" << rc << "].";       
252
            oss << " Returned error code [" << rc << "].";       
249 253
        }
250 254
        
251
        NebulaLog::log("RM",Log::ERROR,oss);
252
        
253 255
        return oss.str();
254 256
    }
255 257
    

Also available in: Unified diff