mirror of
https://github.com/jely2002/youtube-dl-gui.git
synced 2021-11-01 22:46:21 +03:00
fix: send full error including execa error to report #55
This commit is contained in:
@@ -43,7 +43,7 @@ class Query {
|
||||
return stdout
|
||||
} catch(e) {
|
||||
if(!this.environment.errorHandler.checkError(e.stderr, this.identifier)) {
|
||||
this.environment.errorHandler.raiseUnhandledError("Please report this error.\n" + e.stderr, this.identifier);
|
||||
this.environment.errorHandler.raiseUnhandledError("Please report this error.\n" + JSON.stringify(e, null, 2), this.identifier);
|
||||
}
|
||||
return "{}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user