1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-28 22:15:56 +00:00

Take care of more TODO flagged code

- Improve TODO comments, mention related issues
- Export ErrNotWritable, move it to datastore.go
- Improve logging of corrupt mailbox GOB file
This commit is contained in:
James Hillyerd
2016-02-28 16:14:37 -08:00
parent 075aa0dd38
commit 982ad857e8
6 changed files with 21 additions and 18 deletions

View File

@@ -179,7 +179,6 @@ func signalProcessor(c <-chan os.Signal) {
log.Infof("Recieved SIGHUP, cycling logfile")
closeLogFile()
// There is nothing we can do if the log open fails
// TODO We could panic, but that would be lame?
_ = openLogFile()
} else {
log.Infof("Ignoring SIGHUP, logfile not configured")