Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ public void myPrepare() {
stylesheet = getActionWeblog().getTheme().getStylesheet();
}

if(stylesheet == null) {
throw new WebloggerException("no stylesheet found");
if (stylesheet == null) {
// not every theme has a stylesheet, and the page explains that,
// so this is not an error
log.debug("No stylesheet in the theme of weblog " + getActionWeblog().getHandle());
return;
}

WeblogManager weblogManager = WebloggerFactory.getWeblogger().getWeblogManager();
Expand Down
Loading