Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[branch-0.7] missed try catch. #2353

Closed
wants to merge 1 commit into from
Closed

[branch-0.7] missed try catch. #2353

wants to merge 1 commit into from

Conversation

cloverhearts
Copy link
Member

What is this PR for?

Currently we can not build on branch-0.7
The cause is a missed try catch.
So, I fixed this part.

What type of PR is it?

Hot Fix

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@cloverhearts cloverhearts changed the title missing try catch [branch-0.7] missed try catch. May 19, 2017
try {
interpreterSettingManager.removeNoteInterpreterSettingBinding(subject.getUser(), id);
} catch (IOException e) {
logger.error(e.toString(), e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok not to return here? If we get errors while removing interpreter setting binding. (LINE 342)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your opinion is worth thinking about.
but, the intent of this fix is to make the build successful,
and It is to unify the code of the master branch and branch-0.7.
Therefore, you can not modify it in this PR.
Sorry ;-(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this PR as a hotfix and then address improvement in another PR.

@cloverhearts
Copy link
Member Author

merge

asfgit pushed a commit that referenced this pull request May 21, 2017
### What is this PR for?
Currently we can not build on branch-0.7
The cause is a missed try catch.
So, I fixed this part.

### What type of PR is it?
Hot Fix

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: CloverHearts <cloverheartsdev@gmail.com>

Closes #2353 from cloverhearts/missing-try-catch and squashes the following commits:

8a9ea5c [CloverHearts] missing try catch
@cloverhearts cloverhearts deleted the missing-try-catch branch May 21, 2017 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants