Skip to content

Commit

Permalink
Better Gnarly error message (#8270)
Browse files Browse the repository at this point in the history
If this ever happens it would be good to have some information.
  • Loading branch information
ldgauthier authored Mar 29, 2023
1 parent 4dc8e2a commit ef860bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ else if (variant.hasAttribute(GATKVCFConstants.AS_RAW_QUAL_APPROX_KEY)) {
}
}
catch (final Exception e) {
throw new IllegalStateException("Something went wrong: ", e);
throw new IllegalStateException("Unable to instantiate InfoFieldAnnotation: ", e);
}
}
//since AS_FS and AS_SOR share the same raw key, we have to wait to remove raw keys until all the finalized values are added
Expand Down Expand Up @@ -527,4 +527,4 @@ private static int[] getSBFieldAsIntArray(Genotype g) {
}
}
}
}
}

0 comments on commit ef860bf

Please sign in to comment.