This website works better with JavaScript.
Home
Explore
Help
Sign In
musing
/
publicbio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix ReadFile error logging
main
Matt Baer
3 years ago
parent
b1551ce9f5
commit
1268e5c133
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app.go
+ 1
- 1
app.go
View File
@@ -49,7 +49,7 @@ func Serve(cfg *Config) {
if cfg.UserFile != "" {
f, err := ioutil.ReadFile(cfg.UserFile)
if err != nil {
log.Fatal("File error: %v
\n
", err)
log.Fatal
f
("File error: %v", err)
}
err = json.Unmarshal(f, &app.singleUser)
Write
Preview
Loading…
Cancel
Save