Skip to content

Commit 74e8631

Browse files
committed
Merge pull request androidannotations#837 from excilys/836_silentException
Fix silent exceptions on elements
2 parents 5e61e38 + 21c0731 commit 74e8631

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/AndroidAnnotationProcessor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ private void handleException(Set<? extends TypeElement> annotations, RoundEnviro
266266
Iterator<? extends TypeElement> iterator = annotations.iterator();
267267
if (iterator.hasNext()) {
268268
Element element = roundEnv.getElementsAnnotatedWith(iterator.next()).iterator().next();
269-
LOGGER.error("Something went wront : {}", errorMessage, element);
269+
LOGGER.error("Something went wront : {}", element, errorMessage);
270270
} else {
271271
LOGGER.error("Something went wront : {}", errorMessage);
272272
}

0 commit comments

Comments
 (0)