Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
76c2a7be5e |
1 changed files with 3 additions and 1 deletions
|
@ -9,10 +9,12 @@ func NewErrorOnlyArchiver(conf *Config) func(string, error) {
|
|||
return func(filePath string, archiveErr error) {
|
||||
if archiveErr != nil {
|
||||
err := writeErrorFile(conf, filePath, archiveErr)
|
||||
if err != nil {
|
||||
logger.Error(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func writeErrorFile(conf *Config, filePath string, archiveErr error) error {
|
||||
if archiveErr != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue