Detect errors during 'cat' page creation better.  This fixes bin/5591.
Detect errors during 'cat' page creation better.  This fixes bin/5591.

Reviewed by:	ru

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase