~cadence/nodejs-pinski

9653807f309aee34c8c63ce4e6ee760cccbfdf0d — Eugene Molotov 1 year, 8 months ago e35aa61 master
Handle Symbols as exceptions correctly

Before this commit, this warning is raised
UnhandledPromiseRejectionWarning: TypeError: Cannot convert a Symbol value to a string
1 files changed, 1 insertions(+), 1 deletions(-)

M index.js
M index.js => index.js +1 -1
@@ 524,7 524,7 @@ class Pinski {
			+`\n ╱  Are you visiting this website? Not sure what's going on?  ╲`
			+`\n ╲             You might want to come back later.             ╱`
			+`\n\n\n`
			+`\n`+(err && err.stack ? err.stack : err && err.message ? err.message : err)
			+`\n`+(err && err.stack ? err.stack : err && err.message ? err.message : err.description ? err.description : err)
		)
		res.end()
	}