Skip to content

Commit

Permalink
Use the explicit exception type instead of the ellipsis (#258)
Browse files Browse the repository at this point in the history
Use the explicit exception type instead of the ellipsis where the type is known.
  • Loading branch information
fwyzard authored Jan 22, 2019
1 parent 9d7dac0 commit fb0dbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeterogeneousCore/CUDACore/src/GPUCuda.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ namespace heterogeneous {
auto error = cudaGetErrorName(status);
auto message = cudaGetErrorString(status);
throw cms::Exception("CUDAError") << "Callback of CUDA stream " << streamId << " in device " << deviceId << " error " << error << ": " << message;
} catch(...) {
} catch(cms::Exception &) {
waitingTaskHolder.doneWaiting(std::current_exception());
}
}
Expand Down

0 comments on commit fb0dbd9

Please sign in to comment.