typicode/hotel

Handle permissions issues in ~/.hotel

Open

#178 opened on Mar 1, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (9,939 stars) (474 forks)batch import
PR welcomehelp wanted

Description

  1. Handle ENOSPC and EACCES in src/daemon/index.js
  2. If not on Windows, show a message suggesting to try sudo chown -R $USER: $HOME/.hotel
  3. Log error message and stacktrace
  4. process.exit(1)

See https://github.com/typicode/hotel/issues/147

Contributor guide