@@ -120,14 +120,16 @@ |
||
120 | 120 | if (!empty($this->customer)) { |
121 | 121 | try { |
122 | 122 | return org_openpsa_contacts_group_dba::get_cached($this->customer); |
123 | - } catch (midcom_error $e) { |
|
123 | + } |
|
124 | + catch (midcom_error $e) { |
|
124 | 125 | $e->log(); |
125 | 126 | } |
126 | 127 | } |
127 | 128 | if (!empty($this->customerContact)) { |
128 | 129 | try { |
129 | 130 | return org_openpsa_contacts_person_dba::get_cached($this->customerContact); |
130 | - } catch (midcom_error $e) { |
|
131 | + } |
|
132 | + catch (midcom_error $e) { |
|
131 | 133 | $e->log(); |
132 | 134 | } |
133 | 135 | } |
@@ -49,7 +49,8 @@ |
||
49 | 49 | try { |
50 | 50 | $task = new org_openpsa_projects_task_dba($id); |
51 | 51 | $task->update_cache(); |
52 | - } catch (midcom_error $e) { |
|
52 | + } |
|
53 | + catch (midcom_error $e) { |
|
53 | 54 | $e->log(); |
54 | 55 | } |
55 | 56 | } |