Index: trunk/ppStack/src/ppStackFinish.c
===================================================================
--- trunk/ppStack/src/ppStackFinish.c	(revision 27156)
+++ trunk/ppStack/src/ppStackFinish.c	(revision 27157)
@@ -138,4 +138,7 @@
           case PPSTACK_ERR_NOT_IMPLEMENTED:
           case PPSTACK_ERR_PROG:
+            psLogMsg("ppStack", PS_LOG_WARN, "Programming error code: %x", errorCode);
+            exitValue = PS_EXIT_PROG_ERROR;
+            break;
           default:
             // It's a programming error if we're not dealing with the error correctly
