mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-06-23 11:50:13 +00:00
chore: review comments
This commit is contained in:
@@ -316,7 +316,11 @@ func (app *BootstrapApp) Setup() error {
|
||||
}
|
||||
|
||||
// get listener
|
||||
listenerFunc := app.getListenerFunc()
|
||||
listenerFunc, err := app.getListenerFunc()
|
||||
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get listener function: %w", err)
|
||||
}
|
||||
|
||||
// run listener
|
||||
lec := make(chan error, 1)
|
||||
|
||||
Reference in New Issue
Block a user