better format stdout and stderr (include head and tail if too long, include more stderr than stdout if both are available)
better format stdout and stderr (include head and tail if too long, include more stderr than stdout if both are available)

EasyPost/shentry