Context
- Both ::initialize and ::run need to catch a 'throw (0)' from the hook system.
This commit is contained in:
@@ -326,6 +326,12 @@ int Context::run ()
|
|||||||
rc = 2;
|
rc = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
catch (int)
|
||||||
|
{
|
||||||
|
// Hooks can terminate processing by throwing integers.
|
||||||
|
rc = 4;
|
||||||
|
}
|
||||||
|
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
error (STRING_UNKNOWN_ERROR);
|
error (STRING_UNKNOWN_ERROR);
|
||||||
|
|||||||
Reference in New Issue
Block a user