Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorrit Poelen committed Aug 15, 2024
1 parent 1b959d4 commit aa31ed0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ public static ZenodoContext publish(ZenodoContext ctx) throws IOException {
if (HttpStatus.SC_BAD_REQUEST == ex.getStatusCode()) {
String metadata = ctx.getMetadata() == null ? "" : ": [" + ctx.getMetadata().toPrettyString() + "]";
throw new IOException("publication rejected. Please review possibly malformed or incomplete record metadata" + metadata + ".", ex);
} else {
throw ex;
}
}
}
Expand Down

0 comments on commit aa31ed0

Please sign in to comment.