Skip to content

Commit

Permalink
correct log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Aug 22, 2024
1 parent dba3dc1 commit d3d048d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/tst/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ int main(utki::span<const char*> args)
app = factory();

if (!app) {
throw std::logic_error("tst::create_application() returned nullptr");
throw std::logic_error("application_factory returned nullptr");
}
} else {
LOG([](auto& o) {
o << "tst::create_application() function not found, creating basic "
"application"
<< '\n';
o << "application_factory not found, creating basic application" << '\n';
})
app = std::make_unique<application>();
}
Expand Down

0 comments on commit d3d048d

Please sign in to comment.