mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
Attempt to add more context to debug logs.
1 - On `unkown global property`, include the stack trace (this might be WAY too verbose) 2 - On script get, include stack trace (when available) 3 - On script get, include referrer 4 - Stack traces will now include the script name/src when available
This commit is contained in:
@@ -443,7 +443,6 @@ const LineWriter = struct {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
pub fn debugCallback(_: *c.CURL, msg_type: c.curl_infotype, raw: [*c]u8, len: usize, _: *anyopaque) callconv(.c) void {
|
||||
const data = raw[0..len];
|
||||
switch (msg_type) {
|
||||
|
||||
Reference in New Issue
Block a user