Index: lams_bb_integration/web/modules/preview.jsp =================================================================== diff -u -rbf2e3def872911ffee2bfe1f8b7f1e6f8a05c90f -re27f01d34eea709e255d542039faac9c4e46ac4d --- lams_bb_integration/web/modules/preview.jsp (.../preview.jsp) (revision bf2e3def872911ffee2bfe1f8b7f1e6f8a05c90f) +++ lams_bb_integration/web/modules/preview.jsp (.../preview.jsp) (revision e27f01d34eea709e255d542039faac9c4e46ac4d) @@ -59,16 +59,11 @@ // Start the Lesson for preview in LAMS (via Webservices) // Capture the lesson ID - Long lsId = null; - try{ - lsId = LamsSecurityUtil.startLesson(ctx, ldId, strTitle, strDescription, true); - //error checking - if (lsId == -1) { - response.sendRedirect("lamsServerDown.jsp"); - System.exit(1); - } - } catch (Exception e){ - throw new ServletException(e.getMessage(), e); + Long lsId = LamsSecurityUtil.startLesson(ctx, ldId, strTitle, strDescription, true); + //error checking + if (lsId == -1) { + response.sendRedirect("lamsServerDown.jsp"); + System.exit(1); } //redirect to preview lesson