Skip to content

Commit

Permalink
Better warning msg.
Browse files Browse the repository at this point in the history
  • Loading branch information
alesj committed Dec 19, 2011
1 parent cb955eb commit 929354e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -34,6 +34,7 @@
import org.jboss.modules.ModuleIdentifier;
import org.jboss.modules.ModuleLoader;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
Expand Down Expand Up @@ -69,7 +70,7 @@ protected Repository createRepository(Configuration conf) {
final RootBuilder rb = new RootBuilder(token);
builder.addExternalRoot(rb.buildRoot());
} catch (Exception e) {
Logger.getLogger("ceylon.runtime").warning("Failed to add repository: " + token);
Logger.getLogger("ceylon.runtime").log(Level.WARNING, "Failed to add repository: " + token, e);
}
}
// add remote module repo
Expand Down

0 comments on commit 929354e

Please sign in to comment.