-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #316 from avimanyum/fix_all_bug
Catch exceptions while finding files with image
- Loading branch information
Showing
4 changed files
with
271 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...age-update/src/main/java/com/salesforce/dockerfileimageupdate/utils/ProcessingErrors.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.salesforce.dockerfileimageupdate.utils; | ||
|
||
import java.util.Optional; | ||
|
||
public class ProcessingErrors { | ||
private final String imageNameAndTag; | ||
private final Optional<Exception> failure; | ||
|
||
public ProcessingErrors(String imageNameAndTag, Optional<Exception> failure) { | ||
this.imageNameAndTag = imageNameAndTag; | ||
this.failure = failure; | ||
} | ||
|
||
public String getImageNameAndTag() { | ||
return imageNameAndTag; | ||
} | ||
|
||
public Optional<Exception> getFailure() { | ||
return failure; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters