Skip to content

[ISSUE #4266]InterruptedExceptions should never be ignored[connectors]#4314

Merged
mxsm merged 3 commits intoapache:masterfrom
Ruhshan:eventmesh_enhancement_4266
Aug 2, 2023
Merged

[ISSUE #4266]InterruptedExceptions should never be ignored[connectors]#4314
mxsm merged 3 commits intoapache:masterfrom
Ruhshan:eventmesh_enhancement_4266

Conversation

@Ruhshan
Copy link
Contributor

@Ruhshan Ruhshan commented Aug 1, 2023

Fixes #4266 .

Motivation

Interrupted exception should never be ignored in the code

Modifications

Restored interrupted state for interrupted exception in the mentioned files in the issue.

Documentation

  • Does this pull request introduce a new feature? (yes / no) no

@Alonexc
Copy link
Contributor

Alonexc commented Aug 2, 2023

I think log.error() should be used instead of log.warn().

@mxsm mxsm changed the title Eventmesh enhancement 4266 [ISSUE #4266]InterruptedExceptions should never be ignored[connectors] Aug 2, 2023
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #4314 (3a2e91b) into master (dd40227) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 3a2e91b differs from pull request most recent head e137ad4. Consider uploading reports for the commit e137ad4 to get more accurate results

@@             Coverage Diff              @@
##             master    #4314      +/-   ##
============================================
- Coverage     16.35%   16.34%   -0.01%     
  Complexity     1359     1359              
============================================
  Files           594      594              
  Lines         25419    25415       -4     
  Branches       2394     2380      -14     
============================================
- Hits           4158     4155       -3     
  Misses        20838    20838              
+ Partials        423      422       -1     

see 7 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mxsm mxsm merged commit 289bac6 into apache:master Aug 2, 2023
xuhongjia pushed a commit to Deckers-Ohana/eventmesh that referenced this pull request Mar 13, 2025
…ectors] (apache#4314)

* [ISSUE apache#4266]: Retore interrupted state for interrupted exception in open function sinc connector

* [ISSUE apache#4266]: Retore interrupted state for interrupted exception in open function source connector

* [ISSUE apache#4266]: Retore interrupted state for interrupted exception in RocketMQSink connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] InterruptedExceptions should never be ignored[connectors]

4 participants