Update pliny and fix error handling

See https://github.com/interagent/pliny/issues/54