fix order and wording
This commit is contained in:
		| @@ -38,7 +38,7 @@ public record AppliedCheck(InteractionCheck<?> check, Annotation annotation) { | ||||
|         Method method = ReflectionUtil.getMostSpecificMethod(methods, context.getClass(), annotation.annotationType()); | ||||
|         method.setAccessible(true); | ||||
|         try { | ||||
|             logger.debug("Executing pre check {} with context {}", check.getClass().getName(), context.toString()); | ||||
|             logger.debug("Executing post check {} with context {}", check.getClass().getName(), context.toString()); | ||||
|             method.invoke(check, context, annotation); | ||||
|         } catch (IllegalAccessException | InvocationTargetException | SecurityException e) { | ||||
|             logger.fatal(e); | ||||
|   | ||||
| @@ -70,8 +70,8 @@ public class InteractionRegistry { | ||||
|         logger.debug("Received {} interaction ", context); | ||||
|         interactionMethods.forEach((m) -> { | ||||
|             if (m.getType().equals(type) && m.canRun(context)) { | ||||
|                 m.run(context); | ||||
|                 logger.info("Running {} interaction using {}\ncontext: {}", type, m.getMethod().toString(), context.toString()); | ||||
|                 m.run(context); | ||||
|             } | ||||
|         }); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user