Skip to content

Commit 3514e0a

Browse files
added log line for JWT creation failure
1 parent 727d2a5 commit 3514e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/uid2/core/vertx/CoreVerticle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,13 +343,13 @@ private void handleAttestAsync(RoutingContext rc) {
343343
}
344344

345345
if (enforceJWT) {
346+
logger.error("Failed creating the JWT. No JWTs returned.", e);
346347
throw e;
347348
} else {
348349
logger.info("Failed creating the JWT, but enforceJWT is false. No JWTs returned.", e);
349350
}
350351
}
351352
} catch (Exception e) {
352-
logger.error("attestation failure: failed to create attestation token", e);
353353
Error("attestation failure", 500, rc, AttestationFailure.INTERNAL_ERROR.explain());
354354
return;
355355
}

0 commit comments

Comments
 (0)