Skip to content
Snippets Groups Projects
Commit f674f4e6 authored by srosse's avatar srosse
Browse files

OO-671: remove the AssertException, a red screen is not the right response for...

OO-671: remove the AssertException, a red screen is not the right response for the users if the adobe connect server is not available, or the configuration is wrong
parent facecad2
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,10 @@ public class AdobeConnectProvider extends LogDelegator implements VCProvider { ...@@ -145,7 +145,10 @@ public class AdobeConnectProvider extends LogDelegator implements VCProvider {
public boolean createClassroom(String roomId, String name, String description, Date begin, Date end, VCConfiguration config) { public boolean createClassroom(String roomId, String name, String description, Date begin, Date end, VCConfiguration config) {
if(existsClassroom(roomId, config)) return true; if(existsClassroom(roomId, config)) return true;
if(!loginAdmin()) throw new AssertException("Cannot login to Adobe Connect. Please check module configuration and Adobe Connect connectivity."); if(!loginAdmin()) {
logError("Cannot login to Adobe Connect. Please check module configuration and Adobe Connect connectivity.", null);
return false;
}
// begin and end can be NULL, see interface description // begin and end can be NULL, see interface description
if(begin == null) begin = new Date(); if(begin == null) begin = new Date();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment