Use port from variable instead of hard coding

### Changes
1. Edited error description to add port's value from variable instead of hard coding. Also removed redundant `//` between localhost and port.
This commit is contained in:
Sagar V 2019-10-29 02:39:01 +05:30 committed by Sean Yesmunt
parent 4410b6bd13
commit 1af5312c5a

View file

@ -31,7 +31,7 @@ export default async function startSandbox() {
.on('error', err => { .on('error', err => {
if (err.code === 'EADDRINUSE') { if (err.code === 'EADDRINUSE') {
console.log( console.log(
'Server already listening at localhost://5278: This is probably another LBRY app running. If not, games in the app will not work.' `Server already listening at localhost:${port}. This is probably another LBRY app running. If not, games in the app will not work.`
); );
} }
}); });