Skip to content

Commit

Permalink
report proper error during operation failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Apr 18, 2024
1 parent d50be30 commit e541a99
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/secure_tunneling.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,10 +1079,7 @@ static void s_secure_tunnel_shutdown(struct aws_client_bootstrap *bootstrap, int
}

if (!aws_linked_list_empty(&secure_tunnel->queued_operations)) {
s_complete_operation_list(
secure_tunnel,
&secure_tunnel->queued_operations,
AWS_ERROR_IOTDEVICE_SECURE_TUNNELING_OPERATION_FAILED_DUE_TO_OFFLINE_QUEUE_POLICY);
s_complete_operation_list(secure_tunnel, &secure_tunnel->queued_operations, error_code);
}
}

Expand Down

0 comments on commit e541a99

Please sign in to comment.