-
I have some init logic in the service init method, the init logic my raise exception (e.g. failed to load some external configurations), in this case I hope the bentoml service fail directly, but when I run with
|
Beta Was this translation helpful? Give feedback.
Answered by
cceasy
Mar 28, 2024
Replies: 1 comment
-
after read the wiki carefully, I put the logic in the on_deployment which solved my problem. Thanks to the wiki. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cceasy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
after read the wiki carefully, I put the logic in the on_deployment which solved my problem. Thanks to the wiki.