mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-19 10:08:12 +01:00
Plugin tweaks
This commit is contained in:
@@ -79,14 +79,14 @@ export class PluginHandle {
|
||||
}
|
||||
|
||||
async #handleError(err: Error) {
|
||||
console.error('PLUGIN ERROR', this.pluginDir, err);
|
||||
console.error('Plugin errored', this.pluginDir, err);
|
||||
}
|
||||
|
||||
async #handleExit(code: number) {
|
||||
if (code === 0) {
|
||||
console.log('PLUGIN EXITED SUCCESSFULLY');
|
||||
console.log('Plugin exited successfully', this.pluginDir);
|
||||
} else {
|
||||
console.log('PLUGIN EXITED CODE', code);
|
||||
console.log('Plugin exited with error', code, this.pluginDir);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user