void (CompileContext context, ModuleChunk chunk) { try { resolveMissingDependencies(context, chunk.getModules(), BuildTargetChunk.forModulesChunk(chunk)); } catch (Exception e) { context.putUserData(RESOLVE_ERROR_KEY, e); } }