Skip to content

Commit 54c51a0

Browse files
tvogelpbruenn
authored andcommitted
standalone/AmsRouter::AddRoute(): preserve exception type
... such that AddLocalRoute() can really catch it. Reviewed-by: Patrick Bruenn <[email protected]>
1 parent 47f02c8 commit 54c51a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AdsLib/standalone/AmsRouter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ long AmsRouter::AddRoute(AmsNetId ams, const std::string& host)
7979
lock.lock();
8080
connection_attempts.erase(ams);
8181
connection_attempt_events.notify_all();
82-
throw e;
82+
throw;
8383
}
8484
}
8585

0 commit comments

Comments
 (0)