Fix error handling
This commit is contained in:
parent
6ab8d721b4
commit
fadc0f84bf
@ -124,7 +124,8 @@ main = do
|
||||
run e = do
|
||||
settings <-
|
||||
exceptT
|
||||
( const die
|
||||
(\_ ->
|
||||
die
|
||||
. color Red
|
||||
$ "Could not get settings, make sure to run 'ghup config' first"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user