Skip to content

Commit

Permalink
Remove extra end region tag. (#660)
Browse files Browse the repository at this point in the history
The removed region tag caused the sample to end too early. It should have the full function definition, but especially the end of the try block.
  • Loading branch information
tswast authored and jabubake committed May 10, 2017
1 parent de6a65b commit 853233b
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public void doPost(HttpServletRequest req, HttpServletResponse resp)
publisher.publish(pubsubMessage);
// redirect to home page
resp.sendRedirect("/");
// [END publish]
} catch (Exception e) {
resp.sendError(HttpStatus.SC_INTERNAL_SERVER_ERROR, e.getMessage());
}
Expand Down

0 comments on commit 853233b

Please sign in to comment.