mirror of
https://github.com/Icinga/icinga2.git
synced 2026-07-09 00:50:59 -04:00
Replace explicit rethrow(current) pattern with just throw;
This commit is contained in:
parent
aa6c63b52e
commit
a9783fdde4
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ incomplete:
|
|||
result = ExecuteScript(l_Session, command, scriptFrame.Sandboxed);
|
||||
} catch (const ScriptError&) {
|
||||
/* Re-throw the exception for the outside try-catch block. */
|
||||
boost::rethrow_exception(boost::current_exception());
|
||||
throw;
|
||||
} catch (const std::exception& ex) {
|
||||
Log(LogCritical, "ConsoleCommand")
|
||||
<< "HTTP query failed: " << ex.what();
|
||||
|
|
|
|||
Loading…
Reference in a new issue