Changeset 123

Show
Ignore:
Timestamp:
03/02/08 20:30:16 (10 months ago)
Author:
iteman
Message:

- Removed an unused try-catch block.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Stagehand/TestRunner.php

    r122 r123  
    206206            $options[] = $directory; 
    207207 
    208             $monitor = new Stagehand_TestRunner_AlterationMonitor($directory, "$command " . implode(' ', $options)); 
    209  
    210             try { 
    211                 $monitor->monitor(); 
    212             } catch (Stagehand_TestRunner_Exception $e) { 
    213                 echo 'ERROR: ' . $e->getMessage() . "\n"; 
    214                 return 1; 
    215             } 
     208            $monitor = new Stagehand_TestRunner_AlterationMonitor($directory, 
     209                                                                  "$command " . implode(' ', $options) 
     210                                                                  ); 
     211            $monitor->monitor(); 
    216212        } 
    217213