@@ -116,7 +116,8 @@ |
||
| 116 | 116 | try { |
| 117 | 117 | $object = $options['widget_config']['class']::get_cached($identifier); |
| 118 | 118 | $preset[$identifier] = autocomplete_helper::create_item_label($object, $options['widget_config']['result_headers'], $options['widget_config']['titlefield']); |
| 119 | - } catch (midcom_error $e) { |
|
| 119 | + } |
|
| 120 | + catch (midcom_error $e) { |
|
| 120 | 121 | $e->log(); |
| 121 | 122 | } |
| 122 | 123 | } |
@@ -64,7 +64,8 @@ |
||
| 64 | 64 | try { |
| 65 | 65 | $this->__object = $this->__midcom_class_name__::get_cached($this->__identifier); |
| 66 | 66 | return true; |
| 67 | - } catch (midcom_error $e) { |
|
| 67 | + } |
|
| 68 | + catch (midcom_error $e) { |
|
| 68 | 69 | $e->log(); |
| 69 | 70 | } |
| 70 | 71 | return false; |