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