Skip to content

Commit

Permalink
chore: Add command stdout to the error message if apksigner fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Sep 24, 2020
1 parent 65cef69 commit b23d029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tools/apk-signing.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ apkSigningMethods.checkApkCert = async function checkApkCert (appPath, pkg, opts
return false;
}
throw new Error(`Cannot verify the signature of '${appPath}'. ` +
`Original error: ${err.stderr || err.message}`);
`Original error: ${err.stderr || err.stdout || err.message}`);
}
};

Expand Down

0 comments on commit b23d029

Please sign in to comment.