Merge "Omaha #3549 improve error message" into omaha_14.4.1
Former-commit-id:a9c5622575
[formerlyd968b5085d
] [formerly3c874e1aa1
] [formerly7dc4327ffa
[formerly3c874e1aa1
[formerly 6e8ad4c9e2046ac950bbf166a09492a69c88cb7e]]] Former-commit-id:7dc4327ffa
Former-commit-id: 432a6dbd7a4b5d78c1acca24871270eef299a2fd [formerly388c1ca919
] Former-commit-id:b9db837e14
This commit is contained in:
commit
87ee958c33
1 changed files with 7 additions and 5 deletions
|
@ -230,14 +230,14 @@ public final class ACARSSoundingTools {
|
||||||
}
|
}
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
logger.error("Error reading data for tailnumber "
|
logger.error("Error reading data for tailnumber "
|
||||||
+ tailNumberFile.getName());
|
+ tailNumberFile.getName(), ioe);
|
||||||
} finally {
|
} finally {
|
||||||
if (bf != null) {
|
if (bf != null) {
|
||||||
try {
|
try {
|
||||||
bf.close();
|
bf.close();
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
logger.error("Error closing tailnumber file "
|
logger.error("Error closing tailnumber file "
|
||||||
+ tailNumberFile.getName());
|
+ tailNumberFile.getName(), ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -271,7 +271,8 @@ public final class ACARSSoundingTools {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Error processing " + tailNumberFile.getName());
|
logger.error(
|
||||||
|
"Error processing " + tailNumberFile.getName(), e);
|
||||||
} finally {
|
} finally {
|
||||||
if (writer != null) {
|
if (writer != null) {
|
||||||
try {
|
try {
|
||||||
|
@ -329,13 +330,14 @@ public final class ACARSSoundingTools {
|
||||||
}
|
}
|
||||||
// All done reading
|
// All done reading
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
logger.error("Error reading " + tailNumberFile.getName());
|
logger.error("Error reading " + tailNumberFile.getName(), ioe);
|
||||||
} finally {
|
} finally {
|
||||||
if (bf != null) {
|
if (bf != null) {
|
||||||
try {
|
try {
|
||||||
bf.close();
|
bf.close();
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
logger.error("Error attempting to close file " + tailNumberFile.getName());
|
logger.error("Error attempting to close file "
|
||||||
|
+ tailNumberFile.getName(), ioe);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue