Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed May 19, 2024
1 parent 45adcb8 commit 47f135f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func BuildExecCommand(message api.Payload, c *ServerConfig) (*exec.Cmd, error) {
}

if mimeType != "" && !IsAllowedMimeType(mimeType, c.AllowedMimeTypes) {
return nil, fmt.Errorf("undefined sourceMimeType: %s", mimeType)
return nil, fmt.Errorf("undefined mimeType to build command: %s", mimeType)
}

cmdConfig, exists := c.CmdByMimeType[mimeType]
Expand Down

0 comments on commit 47f135f

Please sign in to comment.