mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Small bug fix for special handlers.
This commit is contained in:
@@ -26,7 +26,7 @@ func handleSpecial(c *gin.Context) {
|
||||
err := Api.UseSpecialHandlers(c)
|
||||
if err != nil {
|
||||
log.WithError(err).Errorln("Error using special handler!")
|
||||
// todo: what do we do here?
|
||||
// todo: what do we do here? Should probably return a 500 or something
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -73,6 +73,8 @@ func (s *Server) UseSpecialHandlers(ginC *gin.Context) error {
|
||||
return err
|
||||
}
|
||||
}
|
||||
// now call the normal runner call
|
||||
handleRunner(ginC)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user