We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02796ac commit 4abb15cCopy full SHA for 4abb15c
ton-http-api/main.cpp
@@ -6,12 +6,15 @@
6
#include "userver/clients/http/component.hpp"
7
#include "userver/clients/dns/component.hpp"
8
9
+#include "td/utils/port/signals.h"
10
+
11
#include "tonlib/Logging.h"
12
#include "tonlib_component.h"
13
#include "cache.hpp"
14
15
int main(int argc, char* argv[]) {
16
tonlib::Logging::set_verbosity_level(1);
17
+ td::set_default_failure_signal_handler().ensure();
18
19
auto component_list = userver::components::MinimalServerComponentList();
20
component_list.Append<userver::server::handlers::ServerMonitor>();
0 commit comments