Moved error handling from server to command

dump `pipe`