Skip to content

Commit

Permalink
Suppress error
Browse files Browse the repository at this point in the history
When using relative axis file path, error is always occurred in YamlAxis#getValues() .
Plugin can not get workspace location in YamlAxis#getValues()
  • Loading branch information
sue445 committed Jan 11, 2016
1 parent ed0a51a commit ef6f3e5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class YamlAxis extends Axis {
try {
computedValues = loader.loadValues(name)
computedValues
} catch (IOException e){
LOGGER.log(Level.SEVERE, "Can not read yamlFile: ${yamlFile}", e)
} catch (IOException){
LOGGER.log(Level.SEVERE, "Can not read yamlFile: ${yamlFile}")
[]
}
}
Expand All @@ -52,8 +52,8 @@ class YamlAxis extends Axis {
try {
computedValues = loader.loadValues(name)
computedValues
} catch (IOException e){
LOGGER.log(Level.SEVERE, "Can not read yamlFile: ${yamlFile}", e)
} catch (IOException){
LOGGER.log(Level.SEVERE, "Can not read yamlFile: ${yamlFile}")
[]
}
}
Expand Down

0 comments on commit ef6f3e5

Please sign in to comment.