mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-14 03:50:26 +00:00
13 lines
215 B
Go
13 lines
215 B
Go
|
//go:build !windows
|
||
|
|
||
|
package middleware
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
// We ignore these errors as there could be handler that matches request path.
|
||
|
func isIgnorableOpenFileError(err error) bool {
|
||
|
return os.IsNotExist(err)
|
||
|
}
|