Updated clip.cpp
added return type in catch block
This commit is contained in:
parent
36d9bbce6b
commit
46d20e11e2
1 changed files with 1 additions and 0 deletions
|
@ -1285,6 +1285,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
|
|||
}
|
||||
} catch (const std::exception& e) {
|
||||
LOG_TEE("Error while loading hyperparameters: %s\n", e.what());
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue