mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-19 14:46:04 +00:00
log exact errors when plugin install fails
This commit is contained in:
@@ -100,6 +100,7 @@ export class PluginsSettingsTabComponent {
|
|||||||
this.busy.delete(plugin.name)
|
this.busy.delete(plugin.name)
|
||||||
this.config.requestRestart()
|
this.config.requestRestart()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error('Error installing plugin', plugin.name, err)
|
||||||
this.erroredPlugin = plugin.name
|
this.erroredPlugin = plugin.name
|
||||||
this.errorMessage = err
|
this.errorMessage = err
|
||||||
this.busy.delete(plugin.name)
|
this.busy.delete(plugin.name)
|
||||||
@@ -114,6 +115,7 @@ export class PluginsSettingsTabComponent {
|
|||||||
this.busy.delete(plugin.name)
|
this.busy.delete(plugin.name)
|
||||||
this.config.requestRestart()
|
this.config.requestRestart()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error('Error uninstalling plugin', plugin.name, err)
|
||||||
this.erroredPlugin = plugin.name
|
this.erroredPlugin = plugin.name
|
||||||
this.errorMessage = err
|
this.errorMessage = err
|
||||||
this.busy.delete(plugin.name)
|
this.busy.delete(plugin.name)
|
||||||
|
Reference in New Issue
Block a user