fix unused variable warning
This commit is contained in:
parent
ec98ebc387
commit
cf08fb4cee
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ namespace SimpleWeb {
|
|||
try {
|
||||
resource_function(response, session->request);
|
||||
}
|
||||
catch(const std::exception &e) {
|
||||
catch(const std::exception &) {
|
||||
if(on_error)
|
||||
on_error(session->request, make_error_code::make_error_code(errc::operation_canceled));
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue