mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
🐛 Fix issue that errors in n8n-node-dev did not get displayed
This commit is contained in:
parent
c1a609d358
commit
3762605610
|
@ -49,9 +49,9 @@ export class Build extends Command {
|
||||||
this.log(`The nodes got build and saved into the following folder:\n${outputDirectory}`);
|
this.log(`The nodes got build and saved into the following folder:\n${outputDirectory}`);
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.error('\nGOT ERROR');
|
this.log(`\nGOT ERROR: "${error.message}"`);
|
||||||
this.error('====================================');
|
this.log('====================================');
|
||||||
this.error(error.message);
|
this.log(error.stack);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -152,9 +152,9 @@ export class New extends Command {
|
||||||
|
|
||||||
this.log('Node got created: ' + destinationFilePath);
|
this.log('Node got created: ' + destinationFilePath);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.error('\nGOT ERROR');
|
this.log(`\nGOT ERROR: "${error.message}"`);
|
||||||
this.error('====================================');
|
this.log('====================================');
|
||||||
this.error(error.message);
|
this.log(error.stack);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue