We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f1667 commit 2e0b6daCopy full SHA for 2e0b6da
main.go
@@ -239,15 +239,15 @@ func decode_vpc_flow_log(message string) (*VPCFlowLog, error) {
239
src_port_number, err := strconv.Atoi(src_port)
240
241
if err != nil {
242
- return nil, fmt.Errorf("Cannot decode source port: %w")
+ return nil, fmt.Errorf("Cannot decode source port: %w", err)
243
}
244
245
flow_log.Src_port = uint16(src_port_number)
246
247
dst_port_number, err := strconv.Atoi(dst_port)
248
249
250
- return nil, fmt.Errorf("Cannot decode destination port: %w")
+ return nil, fmt.Errorf("Cannot decode destination port: %w", err)
251
252
253
flow_log.Dst_port = uint16(dst_port_number)
0 commit comments