This commit is contained in:
Stephan D
2026-03-10 12:31:09 +01:00
parent d87e709f43
commit e77d1ab793
287 changed files with 2089 additions and 1550 deletions

View File

@@ -15,6 +15,7 @@ func CloseFile(logger mlogger.Logger, file *os.File) {
}
func ReadFile(logger mlogger.Logger, filePath string) ([]byte, error) {
//nolint:gosec // Read path is provided by trusted caller configuration.
file, err := os.Open(filePath)
if err != nil {
logger.Warn("Failed to open file", zap.String("path", filePath), zap.Error(err))