Update to new THROW macro.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,13 +10,13 @@
|
||||
try { \
|
||||
next->hookName(__VA_ARGS__); \
|
||||
} catch (const std::exception& e) { \
|
||||
THROW("Exception running script hook '" #hookName "': " << e.what()) \
|
||||
THROW("Exception running script hook '" #hookName "': ", e.what()) \
|
||||
} \
|
||||
} \
|
||||
} catch (const ArbUt::Exception& e) { \
|
||||
throw e; \
|
||||
} catch (const std::exception& e) { \
|
||||
THROW("Exception setting up script hook '" #hookName "': " << e.what()) \
|
||||
THROW("Exception setting up script hook '" #hookName "': ", e.what()) \
|
||||
} \
|
||||
}
|
||||
|
||||
@@ -41,6 +41,6 @@
|
||||
} catch (const ArbUt::Exception& e) { \
|
||||
throw e; \
|
||||
} catch (const std::exception& e) { \
|
||||
THROW("Exception setting up script hook '" #hookName "': " << e.what()) \
|
||||
THROW("Exception setting up script hook '" #hookName "': ", e.what()) \
|
||||
} \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user