mirror of
https://github.com/Mibew/design.git
synced 2024-11-15 09:24:12 +03:00
Fix bug with wrong exception class
This commit is contained in:
parent
a650a35dd6
commit
0933263cc9
@ -155,7 +155,7 @@ class ThreadProcessor extends RequestProcessor {
|
||||
}
|
||||
// Check thread id and thread token for the remaining functions
|
||||
if ($thread_id != $function['arguments']['threadId'] || $token != $function['arguments']['token']) {
|
||||
throw new Exception(
|
||||
throw new ThreadProcessorException(
|
||||
'Various thread id or thread token in different functions in one package!',
|
||||
ThreadProcessorException::VARIOUS_THREAD_ID
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user