Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 0acd924

Browse files
committed
LOG_ERROR instead of stderr
1 parent 53078e2 commit 0acd924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/peloton/peloton.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int main(int argc, char *argv[]) {
7373
settings.ShowInfo();
7474
}
7575
} catch (peloton::SettingsException &exception) {
76-
std::cerr << "Cannot load settings. Failed with " << exception.GetMessage() << std::endl;
76+
peloton::LOG_ERROR("Cannot load settings. Failed with %s\n", exception.GetMessage().c_str());
7777
return 0; // TODO: Use an enum with exit error codes
7878
}
7979

0 commit comments

Comments
 (0)