Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
ajewellamz committed Oct 10, 2024
1 parent 56bd34e commit 1aeee7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private void generateAwsSdkErrorToDafnyErrorBlock(
// and this function should only cast to Opaque errors
writer.write(
"""
return $L.Error_Opaque(obj=e, alt__text=$S)
return $L.Error_Opaque(obj=e, alt__text=$L)
""",
DafnyNameResolver.getDafnyPythonTypesModuleNameForShape(
serviceShape.getId(),
Expand All @@ -180,7 +180,7 @@ private void generateAwsSdkErrorToDafnyErrorBlock(
writer.write(
"""
else:
return $L.Error_Opaque(obj=e, alt__text=$S)
return $L.Error_Opaque(obj=e, alt__text=$L)
""",
DafnyNameResolver.getDafnyPythonTypesModuleNameForShape(
serviceShape.getId(),
Expand Down

0 comments on commit 1aeee7a

Please sign in to comment.