mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
dont panic when catting directories
This commit is contained in:
parent
320ccdb22a
commit
7e1e97d050
9 changed files with 102 additions and 8 deletions
5
main.go
5
main.go
|
@ -45,11 +45,8 @@ func main() {
|
|||
|
||||
app, err := app.NewApp(appConfig)
|
||||
if err != nil {
|
||||
// TODO: remove this call to panic after anonymous error reporting
|
||||
// is setup (right now the call to panic logs nothing to the screen which
|
||||
// would make debugging difficult
|
||||
app.Log.Error(err.Error())
|
||||
panic(err)
|
||||
// app.Log.Panic(err.Error())
|
||||
}
|
||||
app.GitCommand.SetupGit()
|
||||
app.Gui.RunWithSubprocesses()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue