-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since sentry requires TLS now, I'll have to wait until Zig v12 to re-enable it. Bastards
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ const std = @import("std"); | |
const builtin = @import("builtin"); | ||
|
||
// TODO: *don't* encode this in here | ||
const DSN = "https://[email protected]/6550409"; | ||
const DSN = "http://[email protected]/6550409"; | ||
const DSN_HASH = "029cc3a31c3740d4a60e3747e48c4aa2"; | ||
const DSN_ID = 6550409; | ||
|
||
|
@@ -280,6 +280,7 @@ pub fn recordError( | |
const symb_info = try module.getSymbolAtAddress(address); | ||
defer symb_info.deinit(); | ||
frame.function = symb_info.symbol_name; | ||
std.log.info("function: {s}", .{frame.function}); | ||
if (symb_info.line_info) |li| { | ||
std.mem.copy(u8, &frame.filename, li.file_name); | ||
frame.lineno = li.line; | ||
|