show error on demand
parent
876e27ae4e
commit
2531d4434c
|
@ -167,7 +167,9 @@ class Utils
|
|||
throw new Exception('bad API response');
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
dcCore::app()->error->add(__('Dotclear.watch report failed'));
|
||||
if ($force) {
|
||||
dcCore::app()->error->add(__('Dotclear.watch report failed'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue