diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-17 13:38:12 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-17 13:38:12 +0200 |
commit | 713b2d69910c1221bc86992ca08d6036d2e71bb6 (patch) | |
tree | 5148927575440e1955a753a1ac19a05008717e5e /import.php | |
parent | 0753bfefd7444712a20cee28fdb057e48602b2eb (diff) | |
download | wallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.tar.gz wallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.tar.zst wallabag-713b2d69910c1221bc86992ca08d6036d2e71bb6.zip |
fonction logm() ajoutée (from shaarli)
Diffstat (limited to 'import.php')
-rw-r--r-- | import.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,7 @@ else { | |||
42 | } | 42 | } |
43 | catch (Exception $e) | 43 | catch (Exception $e) |
44 | { | 44 | { |
45 | $errors[] = $e->getMessage(); | 45 | logm('error during pocket import : ' . $e->getMessage()); |
46 | } | 46 | } |
47 | } | 47 | } |
48 | # Pocket génère un fichier HTML avec deux <ul> | 48 | # Pocket génère un fichier HTML avec deux <ul> |
@@ -52,4 +52,5 @@ else { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | echo 'Import from Pocket completed. <a href="index.php">Welcome to #poche !</a>'; | 54 | echo 'Import from Pocket completed. <a href="index.php">Welcome to #poche !</a>'; |
55 | logm('import from pocket completed'); | ||
55 | } \ No newline at end of file | 56 | } \ No newline at end of file |