mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-19 18:02:34 -04:00
Fix issue #40 : test des erreurs SimplePie
This commit is contained in:
1 parent
a88e61ca1e
commit
42100a8322
4 files changed
+19
No files matched your search
@@ -58,6 +58,13 @@ class feedController extends ActionController {
|
||||
);
|
||||
Session::_param ('notification', $notif);
|
||||
}
|
||||
} catch (FeedException $e) {
|
||||
Log::record ($e->getMessage (), Log::ERROR);
|
||||
$notif = array (
|
||||
'type' => 'bad',
|
||||
'content' => 'Un problème interne a été rencontré, le flux n\'a pas pu être ajouté'
|
||||
);
|
||||
Session::_param ('notification', $notif);
|
||||
} catch (FileNotExistException $e) {
|
||||
Log::record ($e->getMessage (), Log::ERROR);
|
||||
// notif
|
||||
|
||||
Reference in new issue
Block a user