/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk

« back to all changes in this revision

Viewing changes to classes/request.php

  • Committer: Suren A. Chilingaryan
  • Date: 2018-03-21 16:21:54 UTC
  • Revision ID: csa@suren.me-20180321162154-w138wtbfi1uy8ma3
Various improvements for OpenShift operation

Show diffs side-by-side

added added

removed removed

Lines of Context:
379
379
 const SKIP_CHECKS = 0x1000;
380
380
 const SKIP_GENERATED = 0x2000;
381
381
 
 
382
 const PRINT_ERRORS = 0x10000000;
 
383
 const THROW_ERRORS = 0x20000000;
 
384
 
382
385
 const CONTROL = 0x4000;
383
386
 
384
387
 const FLAG_MASK = 0xFFFF;
433
436
                        'db_name' => $db
434
437
                    );
435
438
                }
436
 
 
437
439
//              unset($reader);
438
440
            } catch (ADEIException $ae) {
439
 
                // Just skipping source
440
 
#               throw $ae;
 
441
                if ($flags&REQUEST::PRINT_ERRORS) {
 
442
                    echo "[{$srvid}]: {$ae->getInfo()}\n";
 
443
                }
 
444
                if ($flags&REQUEST::THROW_ERRORS) {
 
445
                    throw $ae;
 
446
                }
441
447
            }
442
448
        }
443
449
    }
444
 
 
445
450
    return new REQUESTList($this->props, $list, "SOURCERequest");
446
451
 }
447
452