  @Test
  public void canTracePublishRequestError() {

    PublishRequest publishRequest = new PublishRequest("topic", "1234");
    Request request = new DefaultRequest(publishRequest, "amazon-sns");

    handler.afterError(request, null, new Exception("Aw, snap!"));
    assertEquals( 1, spans.size() );
    assertEquals(spans.getFirst().tags().get("error"), "Aw, snap!");
  }