Skip to content

Commit

Permalink
don't silently fail when loading shared library (#1089)
Browse files Browse the repository at this point in the history

Co-authored-by: Weng Xuetian <[email protected]>
  • Loading branch information
eagleoflqj and wengxt committed Jul 12, 2024
1 parent 7536d60 commit 64bdd71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/fcitx/addonloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ AddonInstance *SharedLibraryLoader::load(const AddonInfo &info,
info.uniqueName(),
std::make_unique<SharedLibraryFactory>(std::move(lib)));
} catch (const std::exception &e) {
FCITX_ERROR() << "Failed to initialize addon factory for addon "
<< info.uniqueName() << ". Error: " << e.what();
}
break;
}
Expand Down

0 comments on commit 64bdd71

Please sign in to comment.