File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed
src/bin/daemon/LCDPlugins Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -166,18 +166,12 @@ void LCDPlugin::addPBMFrame(
166
166
167
167
this ->addPBMEmptyFrame (num);
168
168
169
- try {
170
- this ->readPBM (
171
- filePath.string (),
172
- _PBMFrames.back ()._PBMData ,
173
- DEFAULT_PBM_WIDTH,
174
- DEFAULT_PBM_HEIGHT
175
- );
176
- }
177
- catch (const GLogiKExcept & e) {
178
- LOG (ERROR) << " exception while reading PBM file: " << filePath.string ();
179
- throw ;
180
- }
169
+ this ->readPBM (
170
+ filePath.string (),
171
+ _PBMFrames.back ()._PBMData ,
172
+ DEFAULT_PBM_WIDTH,
173
+ DEFAULT_PBM_HEIGHT
174
+ );
181
175
}
182
176
183
177
void LCDPlugin::addPBMEmptyFrame (
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ void PBMFile::readPBM(
67
67
pbm.close ();
68
68
}
69
69
catch (const std::ios_base::failure & e) {
70
- LOG (ERROR) << " error opening/reading/closing PBM file : " << e.what ();
70
+ LOG (ERROR) << " error opening/reading/closing PBM file : "
71
+ << PBMPath << " : " << e.what ();
71
72
throw GLogiKExcept (" PBM ifstream error" );
72
73
}
73
74
}
You can’t perform that action at this time.
0 commit comments