Merge branch 'master' of https://github.com/tylawin/Simple-Web-Server
This commit is contained in:
commit
0db33e72e5
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,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