Install: log errors with more obvious prefix

This commit is contained in:
Lovell Fuller
2021-04-01 16:20:58 +01:00
parent 08a25a0c8f
commit fe0767df13
4 changed files with 10 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ describe('libvips binaries', function () {
it('logs an error message', function (done) {
console.error = function (msg) {
assert.strictEqual(msg, 'sharp: problem');
assert.strictEqual(msg, 'sharp: Installation error: problem');
done();
};
libvips.log(new Error('problem'));