Skip to content

Commit

Permalink
feat: gracefully exit the app if auto start predefined_graph fail to …
Browse files Browse the repository at this point in the history
…start
  • Loading branch information
halajohn committed Jan 9, 2025
1 parent bd73ddd commit ad7a8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/ten_runtime/app/ten_env/on_xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ void ten_app_on_configure_done(ten_env_t *ten_env) {
if (ten_string_is_empty(&self->uri)) {
ten_string_set_from_c_str(&self->uri, TEN_STR_LOCALHOST);
}
l ten_addon_load_all_from_app_base_dir(
ten_string_get_raw_str(&self->base_dir), &err);
ten_addon_load_all_from_app_base_dir(ten_string_get_raw_str(&self->base_dir),
&err);
ten_addon_load_all_from_ten_package_base_dirs(&self->ten_package_base_dirs,
&err);

Expand Down

0 comments on commit ad7a8b6

Please sign in to comment.