Skip to content

Commit

Permalink
[backend] Fix NoSuchBeanDefinitionException in retrieving command line
Browse files Browse the repository at this point in the history
  • Loading branch information
RomuDeuxfois committed Nov 21, 2024
1 parent 0a648dd commit a081b03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openbas-api/src/main/java/io/openbas/utils/InjectUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ public InjectStatusCommandLine getCommandsLinesFromInject(final Inject inject) {
injectorContract.getInjector().getType(), io.openbas.execution.Injector.class);
return executor.getCommandsLines(injectorContract.getId());
} catch (NoSuchBeanDefinitionException e) {
log.info("No executor found for this injector: " + injectorContract.getInjector().getType());
log.info(
"No executor found for this injector: " + injectorContract.getInjector().getType());
return null;
}
}
Expand Down

0 comments on commit a081b03

Please sign in to comment.