mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
fix style
This commit is contained in:
parent
1113b5d117
commit
96df3176e5
@ -75,14 +75,14 @@ export default class Listener {
|
||||
// Set this.listening to true
|
||||
this.listening = true
|
||||
}
|
||||
|
||||
|
||||
errorHandler(e) {
|
||||
const errors = {
|
||||
EACCES: 'Permission denied. Does your user have permission?',
|
||||
EADDRINUSE: `Address \`${this.host}:${this.port}\` is already in use. Do you run another service on the same port?`,
|
||||
EDQUOT: 'Disk quota exceeded. Do you have space in disk?'
|
||||
};
|
||||
|
||||
consola.error(errors[e.code] || e);
|
||||
}
|
||||
|
||||
consola.error(errors[e.code] || e)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user