IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27189


Ignore:
Timestamp:
Mar 4, 2010, 2:07:13 PM (16 years ago)
Author:
Paul Price
Message:

More verbosity on error codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackFinish.c

    r27160 r27189  
    8484          case PPSTACK_ERR_UNKNOWN:
    8585          case PS_ERR_UNKNOWN:
     86            psLogMsg("ppStack", PS_LOG_WARN, "Unknown error code: %x", errorCode);
    8687            exitValue = PS_EXIT_UNKNOWN_ERROR;
    8788            break;
     
    9394          case PM_ERR_SYS:
    9495          case PPSTACK_ERR_IO:
     96            psLogMsg("ppStack", PS_LOG_WARN, "I/O error code: %x", errorCode);
    9597            exitValue = PS_EXIT_SYS_ERROR;
    9698            break;
     
    101103          case PPSTACK_ERR_ARGUMENTS:
    102104          case PPSTACK_ERR_CONFIG:
     105            psLogMsg("ppStack", PS_LOG_WARN, "Configuration error code: %x", errorCode);
    103106            exitValue = PS_EXIT_CONFIG_ERROR;
    104107            break;
     
    109112          case PPSTACK_ERR_REJECTED:
    110113          case PPSTACK_ERR_DATA:
     114            psLogMsg("ppStack", PS_LOG_WARN, "Data error code: %x", errorCode);
    111115            exitValue = PS_EXIT_DATA_ERROR;
    112116            break;
Note: See TracChangeset for help on using the changeset viewer.