Skip to content

Commit

Permalink
1.6.36
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Apr 2, 2022
1 parent b306527 commit 04bb5fe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.noear.solon.cloud.annotation.CloudJob;
import org.noear.solon.core.BeanBuilder;
import org.noear.solon.core.BeanWrap;
import org.noear.solon.core.handle.Handler;

/**
* @author noear
Expand All @@ -29,6 +28,8 @@ public void doBuild(Class<?> clz, BeanWrap bw, CloudJob anno) throws Exception {
String description = Solon.cfg().getByParse(anno.description());

CloudClient.job().register(name, anno.cron7x(), description, bw.raw());
} else {
throw new IllegalArgumentException("Illegal CloudJobHandler type: " + clz.getName());
}
}
}

0 comments on commit 04bb5fe

Please sign in to comment.