1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Improve logging message

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2020-11-17 14:49:18 +02:00
parent 70b9a6ce1f
commit faca718c38

View File

@ -134,7 +134,7 @@ export class LensProxy {
try {
res.writeHead(500).end("Oops, something went wrong.")
} catch (e) {
// Can't send headers. Probably app is closing.
logger.error(`[LENS-PROXY]: Failed to write headers: `, e)
}
})