Skip to content

Commit d65bf2e

Browse files
Include code in unknown error messages
1 parent cd6641f commit d65bf2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/core/src/main/java/software/amazon/smithy/python/codegen/integrations/HttpProtocolGeneratorUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public static void generateErrorDispatcher(
149149
${7C|}
150150
151151
case _:
152-
return $5T(message)
152+
return $5T(f"{code}: {message}")
153153
""",
154154
errorDispatcher.getName(),
155155
transportResponse,

0 commit comments

Comments
 (0)