mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 10:58:07 +03:00
Add warning for why we don't log errors
This commit is contained in:
@@ -176,7 +176,7 @@ export function asyncExec(command: string) {
|
||||
exec(command, (err, stdout, stderr) => {
|
||||
if (err) {
|
||||
// eslint-disable-next-line prefer-promise-reject-errors
|
||||
return reject({ stdout, stderr, err });
|
||||
return reject({ err, stdout, stderr });
|
||||
}
|
||||
|
||||
return resolve({ stdout, stderr });
|
||||
|
||||
Reference in New Issue
Block a user