only show errors when creating metadata files if there is actually an error
only show errors when creating metadata files if there is actually an error

fixes #172

PalmerAL/DocLayer,PalmerAL/scratchpad,PalmerAL/DocLayer,PalmerAL/scratchpad