fix: improve error message

This commit is contained in:
Cheng Liu 2024-03-01 14:04:22 -08:00
parent ea8ab4cb68
commit b3d50aeed3
No known key found for this signature in database
GPG key ID: EEC8452F7DB85CD6

View file

@ -417,7 +417,7 @@ ${availableProfiles.join(',')}
});
if (result.status !== 0) {
throw new Error(`Get projects from selections failed: ${result.stderr}`);
throw new Error(`Failed to evaluate the Sparo profile's project selectors: ${result.stderr}`);
}
const processedResult: string = this._processListResult(result.stdout.toString());