Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Prev Previous commit
Next Next commit
Move thr argument infront of the message
  • Loading branch information
dodgex committed Jun 20, 2018
commit 4ddc09a665a8ed18deeda19b3bd77a80044ddd97
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public synchronized void init(ProcessingEnvironment processingEnv) {
plugins.add(0, corePlugin);
androidAnnotationsEnv.setPlugins(plugins);
} catch (Exception e) {
LOGGER.error("Can't load plugins", e);
LOGGER.error(e, "Can't load plugins");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void error(Element element, String message, Object... args) {
error(message, element, null, args);
}

public void error(String message, Throwable thr, Object... args) {
public void error(Throwable thr, String message, Object... args) {
error(message, null, thr, args);
}

Expand Down