IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35392


Ignore:
Timestamp:
Apr 11, 2013, 12:08:22 PM (13 years ago)
Author:
bills
Message:

In pswarpExit handle error PM_ERR_CONFIG which pmConfigRead sets when
it cannot read the configuration file. Assume this is a data
error and exit with PS_EXIT_SYS_ERROR (2) so the revert task will
revert it and try again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpExit.c

    r34089 r35392  
    3838            psLogMsg("pswarp", PS_LOG_WARN, "Unknown error code: %x", errorCode);
    3939            return PS_EXIT_UNKNOWN_ERROR;
     40          case PM_ERR_CONFIG:
     41            // We get this when the config file is not readable. Set to data like error
     42            psLogMsg("pswarp", PS_LOG_WARN, "Config Error: %x", errorCode);
     43            exitValue = PS_EXIT_SYS_ERROR;
     44            break;
    4045          case PS_ERR_IO:
    4146          case PS_ERR_DB_CLIENT:
Note: See TracChangeset for help on using the changeset viewer.