We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef235ed commit 5ed4e36Copy full SHA for 5ed4e36
lib/cronjob.php
@@ -40,7 +40,7 @@ public function execute()
40
} else {
41
$messages[] = 'snapshot not created for ' . $Url->getName() . ' [' . $Url->getId() . ']';
42
}
43
- } catch (Exception $e) {
+ } catch (rex_exception $e) {
44
$messages[] = 'snapshot error for ' . $Url->getName() . ' [' . $Url->getId() . ']';
45
break;
46
pages/url.form.php
@@ -100,7 +100,11 @@
100
$id = $params['sql']->getLastId();
101
if ($id && $id > 0) {
102
$Url = Url::get($id);
103
- Index::createSnapshot($Url);
+ try {
104
+ Index::createSnapshot($Url);
105
106
+ // ignore
107
+ }
108
109
});
110
0 commit comments