]> source.dussan.org Git - nextcloud-server.git/commitdiff
Log error as ERROR.
authorThomas Tanghus <thomas@tanghus.net>
Wed, 20 Jun 2012 17:35:13 +0000 (19:35 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Wed, 20 Jun 2012 19:00:49 +0000 (21:00 +0200)
apps/contacts/lib/vcard.php

index 71a874d783b5ba46b7fa9b361ec79e9923f8b3cb..110d721ace0926798fce420e320b69f82268716c 100644 (file)
@@ -56,7 +56,7 @@ class OC_Contacts_VCard{
                                $stmt = OCP\DB::prepare( $prep );
                                $result = $stmt->execute($id);
                        } catch(Exception $e) {
-                               OCP\Util::writeLog('contacts','OC_Contacts_VCard:all:, exception: '.$e->getMessage(),OCP\Util::DEBUG);
+                               OCP\Util::writeLog('contacts','OC_Contacts_VCard:all:, exception: '.$e->getMessage(),OCP\Util::ERROR);
                                OCP\Util::writeLog('contacts','OC_Contacts_VCard:all, ids: '.join(',', $id),OCP\Util::DEBUG);
                                OCP\Util::writeLog('contacts','SQL:'.$prep,OCP\Util::DEBUG);
                        }