@@ -54,8 +54,8 @@ |
||
| 54 | 54 | try { |
| 55 | 55 | $params['aiheader'][$name] = Shop::get( $name )->getHeader(); |
| 56 | 56 | $params['aibody'][$name] = Shop::get( $name )->getBody(); |
| 57 | - } catch(\Exception $e) { |
|
| 58 | - if ( $e->getCode() === 404 ) { abort(404); } |
|
| 57 | + } catch( \Exception $e ) { |
|
| 58 | + if( $e->getCode() === 404 ) { abort( 404 ); } |
|
| 59 | 59 | throw $e; |
| 60 | 60 | } |
| 61 | 61 | } |