Fix error response html formatting; expose Application start/stop unit methods

This commit is contained in:
Garrett Mills 2021-03-22 12:07:01 -05:00
parent e8fdb04ae8
commit 90d7679882
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
2 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ Stack trace:
str += ` str += `
<pre><code> <pre><code>
Context: Context:
${Object.keys(context).map(key => ` - ${key} : ${context[key]}\n`)} ${Object.keys(context).map(key => ` - ${key} : ${context[key]}`).join('\n')}
</code></pre> </code></pre>
` `
} }

View File

@ -174,7 +174,7 @@ export class Application extends Container {
} }
} }
protected async startUnit(unit: Unit) { public async startUnit(unit: Unit) {
const logging: Logging = this.make<Logging>(Logging) const logging: Logging = this.make<Logging>(Logging)
try { try {
@ -190,7 +190,7 @@ export class Application extends Container {
} }
} }
protected async stopUnit(unit: Unit) { public async stopUnit(unit: Unit) {
const logging: Logging = this.make<Logging>(Logging) const logging: Logging = this.make<Logging>(Logging)
try { try {