Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
astrophysik committed Oct 17, 2023
1 parent 0762b68 commit 992842c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/signal-handlers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int script_backtrace(void **buffer, int size) {

void write_log_with_script_backtrace(vk::string_view message, int type) {
std::array<void *, 64> trace{};
const int trace_size = script_backtrace(trace.data(), 64);
const int trace_size = script_backtrace(trace.data(), trace.size());
vk::singleton<JsonLogger>::get().write_log(message, type, time(nullptr), trace.data(), trace_size, true);
}

Expand Down

0 comments on commit 992842c

Please sign in to comment.