Skip to content

Commit 5fd23ff

Browse files
authored
Issue-312: Fix return code when summary fails to read or summarize a run (#313)
1 parent c7ab0b0 commit 5fd23ff

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

docs/src/Tutorial_05_Imaging_Table.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"cell_type": "markdown",
136136
"metadata": {},
137137
"source": [
138-
"The column headers for the imaing table can be created as follows:"
138+
"The column headers for the imaging table can be created as follows:"
139139
]
140140
},
141141
{

docs/src/changes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changes {#changes}
22

3+
## v1.2.2
4+
5+
| Date | Description |
6+
|------------|--------------------------------------------------------------------------|
7+
| 2023-02-23 | Issue-312: Fix return code when summary fails to read or summarize a run |
8+
| 2023-02-23 | Fix typo Issue-311 |
9+
310
## v1.2.1
411

512
| Date | Description |

src/apps/summary.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ int main(int argc, const char** argv)
106106
int ret = read_run_metrics(argv[i], run, valid_to_load, thread_count);
107107
if(ret != SUCCESS)
108108
{
109-
continue;
109+
return UNEXPECTED_EXCEPTION;
110110
}
111111
run_summary summary;
112112
try
@@ -116,7 +116,7 @@ int main(int argc, const char** argv)
116116
catch(const std::exception& ex)
117117
{
118118
std::cerr << ex.what() << std::endl;
119-
continue;
119+
return UNEXPECTED_EXCEPTION;
120120
}
121121
try
122122
{

0 commit comments

Comments
 (0)