Skip to content

Commit d4c0851

Browse files
committed
fix invalid locale error message
1 parent daac2df commit d4c0851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/mssql/protocol/type_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ impl TypeInfo {
121121
0x0409 => encoding_rs::WINDOWS_1252,
122122

123123
locale => {
124-
return Err(err_protocol!("unsupported locale 0x{:?}", locale));
124+
return Err(err_protocol!("unsupported locale 0x{:04x}", locale));
125125
}
126126
})
127127
}

0 commit comments

Comments
 (0)