Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chanseokoh committed Mar 16, 2021
1 parent 764a1af commit 52460a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static GlobalConfig readConfig(Path configDir) throws IOException, InvalidGlobal

} catch (IOException ex) {
throw new IOException(
"Failed to open or parse global Jib config file; see "
"Failed to create, open, or parse global Jib config file; see "
+ "https:/GoogleContainerTools/jib/blob/master/docs/faq.md#where-is-the-global-jib-configuration-file-and-how-i-can-configure-it "
+ "to fix or you may need to delete "
+ configFile,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void testReadConfig_emptyFile() throws IOException {
assertThat(exception)
.hasMessageThat()
.startsWith(
"Failed to open or parse global Jib config file; see "
"Failed to create, open, or parse global Jib config file; see "
+ "https:/GoogleContainerTools/jib/blob/master/docs/faq.md#where-is-the-global-jib-configuration-file-and-how-i-can-configure-it "
+ "to fix or you may need to delete");
assertThat(exception).hasMessageThat().endsWith(File.separator + "config.json");
Expand All @@ -125,7 +125,7 @@ public void testReadConfig_corrupted() throws IOException {
assertThat(exception)
.hasMessageThat()
.startsWith(
"Failed to open or parse global Jib config file; see "
"Failed to create, open, or parse global Jib config file; see "
+ "https:/GoogleContainerTools/jib/blob/master/docs/faq.md#where-is-the-global-jib-configuration-file-and-how-i-can-configure-it "
+ "to fix or you may need to delete ");
assertThat(exception).hasMessageThat().endsWith(File.separator + "config.json");
Expand Down

0 comments on commit 52460a9

Please sign in to comment.