Skip to content

Commit 473ced7

Browse files
committed
fix: add CodamCoalitionScore id to logging when intra score fails to be created
1 parent 9ff3813 commit 473ced7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handlers/intrascores.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const createIntraScore = async function(prisma: PrismaClient, api: Fast42, score
7878
}
7979
});
8080
if (!post.ok) {
81-
throw new Error(`Failed to create Intra score, HTTP status ${post.status} ${post.statusText}`);
81+
throw new Error(`Failed to create Intra score for CodamCoalitionScore ${score.id}, HTTP status ${post.status} ${post.statusText}`);
8282
}
8383
try {
8484
const postBody = await post.json();

0 commit comments

Comments
 (0)