File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -314,13 +314,9 @@ public function processSignal()
314314 return ;
315315 }
316316
317- try {
318- $ component = $ this ->signalReceiver === '' ? $ this : $ this ->getComponent ($ this ->signalReceiver , FALSE );
319- } catch (Nette \InvalidArgumentException $ e ) {
320- }
321-
322- if (isset ($ e ) || $ component === NULL ) {
323- throw new BadSignalException ("The signal receiver component ' $ this ->signalReceiver ' is not found. " , NULL , isset ($ e ) ? $ e : NULL );
317+ $ component = $ this ->signalReceiver === '' ? $ this : $ this ->getComponent ($ this ->signalReceiver , FALSE );
318+ if ($ component === NULL ) {
319+ throw new BadSignalException ("The signal receiver component ' $ this ->signalReceiver ' is not found. " );
324320
325321 } elseif (!$ component instanceof ISignalReceiver) {
326322 throw new BadSignalException ("The signal receiver component ' $ this ->signalReceiver ' is not ISignalReceiver implementor. " );
You can’t perform that action at this time.
0 commit comments