mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 07:37:36 +08:00
refactor: IDriver
This commit is contained in:
@@ -38,7 +38,7 @@ func sourceHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
app, err := dExt.GetForegroundApp()
|
||||
app, err := dExt.ForegroundInfo()
|
||||
if err != nil {
|
||||
log.Err(err).Msg(fmt.Sprintf("[%s]: failed to get foreground app", c.HandlerName()))
|
||||
c.JSON(http.StatusInternalServerError,
|
||||
|
||||
Reference in New Issue
Block a user