mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
🐛 Fix issue that errors in n8n-node-dev did not get displayed
This commit is contained in:
@@ -49,9 +49,9 @@ export class Build extends Command {
|
||||
this.log(`The nodes got build and saved into the following folder:\n${outputDirectory}`);
|
||||
|
||||
} catch (error) {
|
||||
this.error('\nGOT ERROR');
|
||||
this.error('====================================');
|
||||
this.error(error.message);
|
||||
this.log(`\nGOT ERROR: "${error.message}"`);
|
||||
this.log('====================================');
|
||||
this.log(error.stack);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -152,9 +152,9 @@ export class New extends Command {
|
||||
|
||||
this.log('Node got created: ' + destinationFilePath);
|
||||
} catch (error) {
|
||||
this.error('\nGOT ERROR');
|
||||
this.error('====================================');
|
||||
this.error(error.message);
|
||||
this.log(`\nGOT ERROR: "${error.message}"`);
|
||||
this.log('====================================');
|
||||
this.log(error.stack);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user