Skip to content

Commit

Permalink
error reason update
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit-CloudSufi committed Feb 11, 2025
1 parent b2e0232 commit 9836b91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ private RecipeParser getRecipeParser(StageContext context) {
try {
registry.reload(context.getNamespace());
} catch (Exception e) {
String errorReason = "Unable to re-load directive from the artifacts.";
String errorReason = "Unable to load directive from the artifacts.";
throw WranglerErrorUtil.getProgramFailureExceptionDetailsFromChain(e, null, errorReason,
ErrorType.USER);
}
Expand All @@ -607,7 +607,7 @@ private RecipeParser getRecipeParser(StageContext context) {
try {
return new GrammarBasedParser(context.getNamespace(), new MigrateToV2(directives).migrate(), registry);
} catch (Exception e) {
String errorReason = "Unable to parse directive from the artifacts, few directives are missing.";
String errorReason = "Unable to parse the directives.";
throw WranglerErrorUtil.getProgramFailureExceptionDetailsFromChain(e, null, errorReason,
ErrorType.USER);
}
Expand Down

0 comments on commit 9836b91

Please sign in to comment.