improve error handling while serving
This commit is contained in:
parent
fd7c33c537
commit
ae2e3b463a
8 changed files with 56 additions and 28 deletions
|
@ -17,10 +17,12 @@ export class QuartzLogger {
|
|||
}
|
||||
}
|
||||
|
||||
success(text: string) {
|
||||
end(text?: string) {
|
||||
if (!this.verbose) {
|
||||
this.spinner!.stop(true)
|
||||
}
|
||||
console.log(text)
|
||||
if (text) {
|
||||
console.log(text)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue