Permalink
Browse files

Lagt på logging av confluence sider som feiler

  • Loading branch information...
Konrad Beiske
Konrad Beiske committed Feb 12, 2011
1 parent ee32e83 commit c19b2404683e463b203cff304715974cb80aaf7c
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/ConfluencePageFetcher.java
@@ -100,9 +100,9 @@ public String getPageAsHTMLFragment(String name) {
confluence.login(username, password);
return fetchPage(name);
} catch (ConfluenceException loginError) {
- throw new RuntimeException("Login failed on retry", loginError);
+ throw new RuntimeException("Login failed on retry for page: " + name, loginError);
} catch (SwizzleException loginError) {
- throw new RuntimeException("Login failed on retry", loginError);
+ throw new RuntimeException("Login failed on retry for page: " + name, loginError);
}
}
}

0 comments on commit c19b240

Please sign in to comment.