mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Merge pull request #409 from atom-community/dump-symbols
This commit is contained in:
commit
e752405bd9
@ -28,8 +28,12 @@ function dumpSymbol(binaryPath) {
|
||||
minidump.dumpSymbol(binaryPath, function(error, content) {
|
||||
if (error) {
|
||||
// fswin.node is only used on windows, ignore the error on other platforms
|
||||
if (process.platform !== 'win32' && binaryPath.match(/fswin.node/))
|
||||
if (process.platform !== 'win32') {
|
||||
console.warn(
|
||||
`\n##[warning] Failed to dump the symbols via minidump. ${error}. Ignoring the error...`
|
||||
);
|
||||
return resolve();
|
||||
}
|
||||
throw new Error(error);
|
||||
} else {
|
||||
const moduleLine = /MODULE [^ ]+ [^ ]+ ([0-9A-F]+) (.*)\n/.exec(
|
||||
|
Loading…
Reference in New Issue
Block a user