fix: make that config is actually shown when errors occur
This commit is contained in:
parent
7e4a9ad055
commit
cc8f837be0
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ export class ConfigError extends Error {
|
|||
constructor(message: string, config: Partial<BaseConfig>, logger: logger, options?: ErrorOptions) {
|
||||
super(message, options)
|
||||
logger("error", "Provided config was:")
|
||||
logger("error", config)
|
||||
console.log("error", config)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ export class InstallError extends Error {
|
|||
constructor(message: string, step: string, config: Config, logger: logger, options?: ErrorOptions) {
|
||||
super(`[${step}] ${message}`, options)
|
||||
logger("error", "Provided config was:")
|
||||
logger("error", config)
|
||||
console.log(config)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue