emit error when ps is undefined
Merge branch 'emit-errors' into fix-socket-error