mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
use log.Fatal instead of panic
This commit is contained in:
parent
b4708348c6
commit
7a775c42a1
1 changed files with 1 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ import (
|
|||
|
||||
func checkErr(err error) {
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue